Class UnidataTdsDataPathRemapper

java.lang.Object
ucar.unidata.util.UnidataTdsDataPathRemapper

public class UnidataTdsDataPathRemapper extends Object
  • Constructor Details

    • UnidataTdsDataPathRemapper

      public UnidataTdsDataPathRemapper()
  • Method Details

    • getMappedUrlPaths

      public List<String> getMappedUrlPaths(String oldUrlPath)
      Get the new datasetUrlPath given the old dataset UrlPath
      Parameters:
      oldUrlPath - Old dataset UrlPath
      Returns:
      result List containing possible remaps
    • getMappedUrlPaths

      public List<String> getMappedUrlPaths(String oldUrlPath, String urlType)
      Get the new datasetUrlPath given the old dataset UrlPath and the dataset "type" (a "file" or "best time series") A "file" urlPath looks something like: fmrc/NCEP/GFS/Alaska_191km/files/ while a "best" urlPath looks like: fmrc/NCEP/GFS/Alaska_191km/NCEP-GFS-Alaska_191km_best.ncd
      Parameters:
      oldUrlPath - Old dataset UrlPath
      urlType - either file (which includes latest) or best (for best time series)
      Returns:
      result List containing possible remaps