Package ucar.unidata.util
Class UnidataTdsDataPathRemapper
java.lang.Object
ucar.unidata.util.UnidataTdsDataPathRemapper
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMappedUrlPaths
(String oldUrlPath) Get the new datasetUrlPath given the old dataset UrlPathgetMappedUrlPaths
(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
-
Constructor Details
-
UnidataTdsDataPathRemapper
public UnidataTdsDataPathRemapper()
-
-
Method Details
-
getMappedUrlPaths
Get the new datasetUrlPath given the old dataset UrlPath- Parameters:
oldUrlPath
- Old dataset UrlPath- Returns:
- result List
containing possible remaps
-
getMappedUrlPaths
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 UrlPathurlType
- either file (which includes latest) or best (for best time series)- Returns:
- result List
containing possible remaps
-