public DDS getDDS ( String CE ) throws IOException , ParseException , DAP2Exception { DDSCommand command = new DDSCommand ( ) ; command . setURL ( CE == null || CE . length ( ) == 0 ? urlString : urlString + "?" + CE ) ; if ( filePath != null ) { try ( FileInputStream is = new FileInputStream ( filePath + ".dds" ) ) { command . process ( is ) ; } } else if ( stream != null ) { command . process ( stream ) ; } else { // must be a remote url openConnection ( urlString + ".dds" + ( getCompleteCE ( CE ) ) , command ) ; } return command . dds ; }
Returns the DDS object from the dataset referenced by this object s URL . The DDS object is referred to by appending . dds to the end of a OPeNDAP URL .