Package ucar.nc2.write
Class Ncdump.Builder
- java.lang.Object
-
- ucar.nc2.write.Ncdump.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ncdump
build()
Ncdump.Builder
setCancelTask(CancelTask cancelTask)
allow task to be cancelledNcdump.Builder
setLocationName(String locationName)
Ncdump.Builder
setNcml(boolean ncml)
set true if outout should be ncml, otherwise CDL.Ncdump.Builder
setShowAllValues()
show all Variable's valuesNcdump.Builder
setShowCoordValues()
show Coordinate Variable's values onlyNcdump.Builder
setStrict(boolean strict)
strict CDL representation, default falseNcdump.Builder
setVarNames(String varNames)
Ncdump.Builder
setWantValues(Ncdump.WantValues wantValues)
set what Variables' values you want output.
-
-
-
Method Detail
-
setShowAllValues
public Ncdump.Builder setShowAllValues()
show all Variable's values
-
setShowCoordValues
public Ncdump.Builder setShowCoordValues()
show Coordinate Variable's values only
-
setLocationName
public Ncdump.Builder setLocationName(String locationName)
-
setWantValues
public Ncdump.Builder setWantValues(Ncdump.WantValues wantValues)
set what Variables' values you want output.
-
setNcml
public Ncdump.Builder setNcml(boolean ncml)
set true if outout should be ncml, otherwise CDL.
-
setStrict
public Ncdump.Builder setStrict(boolean strict)
strict CDL representation, default false
-
setVarNames
public Ncdump.Builder setVarNames(String varNames)
- Parameters:
varNames
- semicolon delimited list of variables whose data should be printed. May have Fortran90 like selector: eg varName(1:2,*,2)
-
setCancelTask
public Ncdump.Builder setCancelTask(CancelTask cancelTask)
allow task to be cancelled
-
build
public Ncdump build()
-
-