Go to the documentation of this file.
34 #ifndef vtkNetCDFReader_h
35 #define vtkNetCDFReader_h
37 #include "vtkIONetCDFModule.h"
49 class vtkNetCDFReaderPrivate;
129 vtkGetMacro(ReplaceFillValueWithNan,
int);
196 void *clientdata,
void *calldata);
264 vtkNetCDFReaderPrivate *Private;
267 #endif //vtkNetCDFReader_h
virtual const char * GetVariableArrayName(int idx)
vtkSmartPointer< vtkIntArray > LoadingDimensions
The dimension ids of the arrays being loaded into the data.
virtual int LoadVariable(int ncFD, const char *varName, double time, vtkDataSet *output)
Load the variable at the given time into the given data set.
A superclass for reading netCDF files.
record modification and/or execution time
Superclass for algorithms that produce only data object as output.
abstract base class for most VTK objects
virtual int GetVariableArrayStatus(const char *name)
vtkSmartPointer< vtkStringArray > AllVariableArrayNames
virtual int GetNumberOfVariableArrays()
Variable array selection.
static vtkNetCDFReader * New()
static void SelectionModifiedCallback(vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
Callback registered with the VariableArraySelection.
Store on/off settings for data arrays for a vtkSource.
vtkStdString DescribeDimensions(int ncFD, const int *dimIds, int numDims)
Convenience function for getting a string that describes a set of dimensions.
vtkTimeStamp FileNameMTime
int ReplaceFillValueWithNan
virtual vtkStringArray * GetAllVariableArrayNames()
Convenience method to get a list of variable arrays.
virtual void SetFileName(const char *filename)
virtual void SetDimensions(const char *dimensions)
Loads the grid with the given dimensions.
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a simple class to control print indentation
dynamic, self-adjusting array of int
virtual vtkSmartPointer< vtkDoubleArray > GetTimeValues(int ncFD, int dimId)
Given a dimension already determined to be a time dimension (via a call to IsTimeDimension) returns a...
vtkSmartPointer< vtkDataArraySelection > VariableArraySelection
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
virtual int IsTimeDimension(int ncFD, int dimId)
Determines whether the given variable is a time dimension.
abstract class to specify dataset behavior
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTimeStamp MetaDataMTime
vtkStringArray * AllDimensions
Placeholder for structure returned from GetAllDimensions().
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void GetUpdateExtentForOutput(vtkDataSet *output, int extent[6])
Retrieves the update extent for the output object.
vtkStringArray * VariableDimensions
Placeholder for structure returned from GetVariableDimensions().
a vtkAbstractArray subclass for strings
virtual int ReadMetaData(int ncFD)
Reads meta data and populates ivars.
virtual bool DimensionsAreForPointData(vtkIntArray *vtkNotUsed(dimensions))
Called internally to determine whether a variable with the given set of dimensions should be loaded a...
dynamic, self-adjusting array of double
Wrapper around std::string to keep symbols short.
std::string QueryArrayUnits(const char *ArrayName)
Get units attached to a particular array in the netcdf file.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int FillVariableDimensions(int ncFD)
Fills the VariableDimensions array.
virtual void SetVariableArrayStatus(const char *name, int status)
int UpdateMetaData()
Update the meta data from the current file.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)