public class GribVariableRenamer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GribVariableRenamer.VariableRenamerBean
Deprecated.
|
Constructor and Description |
---|
GribVariableRenamer() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getMappedNamesGrib1(java.lang.String oldName) |
java.util.List<java.lang.String> |
getMappedNamesGrib2(java.lang.String oldName) |
static void |
main(java.lang.String[] args) |
java.util.List<java.lang.String> |
matchNcepNames(ucar.nc2.dt.GridDataset gds,
java.lang.String oldName)
Look for possible matches of old (4.2) grib names in new (4.3) dataset.
|
java.util.List<java.lang.String> |
matchNcepNames(java.lang.String datasetType,
java.lang.String oldName) |
public java.util.List<java.lang.String> getMappedNamesGrib2(java.lang.String oldName)
public java.util.List<java.lang.String> getMappedNamesGrib1(java.lang.String oldName)
public java.util.List<java.lang.String> matchNcepNames(ucar.nc2.dt.GridDataset gds, java.lang.String oldName)
gds
- check existence in this dataset. Must be from a GRIB1 or GRIB2 dataset.oldName
- old name from 4.2 datasetpublic java.util.List<java.lang.String> matchNcepNames(java.lang.String datasetType, java.lang.String oldName)
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException