cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java
private String getDDFPath() {
    if (pathToDDF == null) {
      int lastSlash = ddFile.lastIndexOf("/");
      if (lastSlash < 0) {
        lastSlash = ddFile.lastIndexOf(File.separator);
      }
      pathToDDF = (lastSlash < 0)
              ? ""
              : ddFile.substring(0, lastSlash + 1);


    }
    return pathToDDF;
  }
private String getDDFPath() {
    if (pathToDDF == null) {
      int lastSlash = ddFile.lastIndexOf("/");
      if (lastSlash < 0) {
        lastSlash = ddFile.lastIndexOf(File.separator);
      }
      pathToDDF = (lastSlash < 0)
              ? ""
              : ddFile.substring(0, lastSlash + 1);


    }
    return pathToDDF;
  }
private String getDDFPath ( ) { if ( pathToDDF == null ) { int lastSlash = ddFile . lastIndexOf ( "/" ) ; if ( lastSlash < 0 ) { lastSlash = ddFile . lastIndexOf ( File . separator ) ; } pathToDDF = ( lastSlash < 0 ) ? "" : ddFile . substring ( 0 , lastSlash + 1 ) ; } return pathToDDF ; }
Get the path to the Data Descriptor File

@return the path to the Data Descriptor File
Get the path to the Data Descriptor File