public class CFPointWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
addTimeCoverage |
protected static String |
altName |
protected String |
altUnits |
protected Map<String,Variable> |
dataVarMap |
protected boolean |
isExtendedModel |
protected boolean |
isNetcdf3 |
protected static String |
latName |
protected LatLonRect |
llbb |
protected static String |
lonName |
protected CalendarDate |
maxDate |
protected CalendarDate |
minDate |
protected Structure |
record |
protected static String |
recordDimName |
protected static String |
recordName |
protected static List<String> |
reservedGlobalAtts |
protected static List<String> |
reservedVariableAtts |
protected static String |
timeName |
protected NetcdfFileWriter |
writer |
| Modifier | Constructor and Description |
|---|---|
protected |
CFPointWriter(String fileOut,
List<Attribute> atts,
NetcdfFileWriter.Version version) |
protected |
CFPointWriter(String fileOut,
List<Attribute> atts,
NetcdfFileWriter.Version version,
boolean addTimeCoverage)
Ctor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDataVariablesClassic(List<? extends VariableSimpleIF> dataVars) |
protected void |
addVariablesExtended(List<? extends VariableSimpleIF> dataVars) |
void |
finish() |
void |
setLength(long size) |
protected void |
trackBB(EarthLocation loc,
CalendarDate obsDate) |
static int |
writeFeatureCollection(FeatureDatasetPoint fdpoint,
String fileOut,
NetcdfFileWriter.Version version) |
protected int |
writeStructureData(int[] origin,
StructureData sdata) |
protected static final String recordName
protected static final String recordDimName
protected static final String latName
protected static final String lonName
protected static final String altName
protected static final String timeName
protected NetcdfFileWriter writer
protected Structure record
protected String altUnits
protected LatLonRect llbb
protected CalendarDate minDate
protected CalendarDate maxDate
protected final boolean addTimeCoverage
protected final boolean isNetcdf3
protected final boolean isExtendedModel
protected CFPointWriter(String fileOut, List<Attribute> atts, NetcdfFileWriter.Version version) throws IOException
IOExceptionprotected CFPointWriter(String fileOut, List<Attribute> atts, NetcdfFileWriter.Version version, boolean addTimeCoverage) throws IOException
fileOut - name of the output fileatts - attributes to be addedversion - netcdf file versionaddTimeCoverage - for files that don't have time dimension indicates we won't have time coverage attributes eitherIOExceptionpublic static int writeFeatureCollection(FeatureDatasetPoint fdpoint, String fileOut, NetcdfFileWriter.Version version) throws IOException
IOExceptionpublic void setLength(long size)
protected void addDataVariablesClassic(List<? extends VariableSimpleIF> dataVars) throws IOException
IOExceptionprotected void addVariablesExtended(List<? extends VariableSimpleIF> dataVars) throws IOException
IOExceptionprotected void trackBB(EarthLocation loc, CalendarDate obsDate)
public void finish()
throws IOException
IOExceptionprotected int writeStructureData(int[] origin,
StructureData sdata)
throws IOException,
InvalidRangeException
IOExceptionInvalidRangeExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.