read NetCDF files More...
#include <vtkUnstructuredPOPReader.h>
Public Types | |
typedef vtkUnstructuredGridAlgorithm | Superclass |
![]() | |
typedef vtkAlgorithm | Superclass |
![]() | |
enum | DesiredOutputPrecision |
enum | DesiredOutputPrecision |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual void | SetFileName (const char *) |
The NetCDF file to open. More... | |
virtual char * | GetFileName () |
The NetCDF file to open. More... | |
virtual void | SetStride (int, int, int) |
Enable subsampling in i,j and k dimensions for the topologically structured input data. More... | |
virtual void | SetStride (int [3]) |
Enable subsampling in i,j and k dimensions for the topologically structured input data. More... | |
virtual int * | GetStride () |
Enable subsampling in i,j and k dimensions for the topologically structured input data. More... | |
virtual void | GetStride (int &, int &, int &) |
Enable subsampling in i,j and k dimensions for the topologically structured input data. More... | |
virtual void | GetStride (int [3]) |
Enable subsampling in i,j and k dimensions for the topologically structured input data. More... | |
virtual void | SetVOI (int, int, int, int, int, int) |
Set the VOI of for the topologically structured input data. More... | |
virtual void | SetVOI (int [6]) |
Set the VOI of for the topologically structured input data. More... | |
virtual int * | GetVOI () |
Set the VOI of for the topologically structured input data. More... | |
virtual void | GetVOI (int &, int &, int &, int &, int &, int &) |
Set the VOI of for the topologically structured input data. More... | |
virtual void | GetVOI (int [6]) |
Set the VOI of for the topologically structured input data. More... | |
virtual int | GetNumberOfVariableArrays () |
Variable array selection. More... | |
virtual const char * | GetVariableArrayName (int idx) |
Variable array selection. More... | |
virtual int | GetVariableArrayStatus (const char *name) |
Variable array selection. More... | |
virtual void | SetVariableArrayStatus (const char *name, int status) |
Variable array selection. More... | |
virtual void | SetRadius (double) |
Set the outer radius of the Earth. More... | |
virtual double | GetRadius () |
Set the outer radius of the Earth. More... | |
virtual int | GetVectorGrid () |
Determine whether or not the input data is being interpolated at the U/vector points or T/scalar points. More... | |
virtual void | SetVerticalVelocity (bool) |
Specify whether or not to compute the vertical velocity component from the horizontal velocity components. More... | |
virtual bool | GetVerticalVelocity () |
Specify whether or not to compute the vertical velocity component from the horizontal velocity components. More... | |
![]() | |
vtkUnstructuredGridAlgorithm * | NewInstance () const |
vtkDataObject * | GetInput (int port) |
vtkDataObject * | GetInput () |
vtkUnstructuredGrid * | GetUnstructuredGridInput (int port) |
vtkUnstructuredGrid * | GetOutput () |
vtkUnstructuredGrid * | GetOutput (int) |
virtual void | SetOutput (vtkDataObject *d) |
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | SetInputData (vtkDataObject *) |
void | SetInputData (int, vtkDataObject *) |
void | AddInputData (vtkDataObject *) |
void | AddInputData (int, vtkDataObject *) |
vtkUnstructuredGrid * | GetOutput () |
vtkUnstructuredGrid * | GetOutput (int) |
virtual void | SetOutput (vtkDataObject *d) |
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | SetInputData (vtkDataObject *) |
void | SetInputData (int, vtkDataObject *) |
void | AddInputData (vtkDataObject *) |
void | AddInputData (int, vtkDataObject *) |
![]() | |
vtkAlgorithm * | NewInstance () const |
int | HasExecutive () |
vtkExecutive * | GetExecutive () |
virtual void | SetExecutive (vtkExecutive *executive) |
virtual int | ModifyRequest (vtkInformation *request, int when) |
vtkInformation * | GetInputPortInformation (int port) |
vtkInformation * | GetOutputPortInformation (int port) |
int | GetNumberOfInputPorts () |
int | GetNumberOfOutputPorts () |
void | UpdateProgress (double amount) |
vtkInformation * | GetInputArrayInformation (int idx) |
void | RemoveAllInputs () |
vtkDataObject * | GetOutputDataObject (int port) |
virtual void | RemoveInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | RemoveInputConnection (int port, int idx) |
virtual void | RemoveAllInputConnections (int port) |
int | GetNumberOfInputConnections (int port) |
int | GetTotalNumberOfInputConnections () |
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
vtkAlgorithm * | GetInputAlgorithm (int port, int index, int &algPort) |
vtkAlgorithm * | GetInputAlgorithm (int port, int index) |
vtkExecutive * | GetInputExecutive (int port, int index) |
vtkInformation * | GetInputInformation (int port, int index) |
vtkInformation * | GetOutputInformation (int port) |
virtual int | Update (int port, vtkInformationVector *requests) |
virtual int | Update (vtkInformation *requests) |
virtual int | UpdateExtent (const int extents[6]) |
virtual void | UpdateInformation () |
virtual void | UpdateDataObject () |
virtual void | PropagateUpdateExtent () |
virtual void | UpdateWholeExtent () |
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
int | SetUpdateExtentToWholeExtent (int port) |
int | SetUpdateExtentToWholeExtent () |
void | SetUpdateExtent (int port, int extent[6]) |
void | SetUpdateExtent (int extent[6]) |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
void | Register (vtkObjectBase *o) VTK_OVERRIDE |
void | UnRegister (vtkObjectBase *o) VTK_OVERRIDE |
virtual void | SetAbortExecute (int) |
virtual int | GetAbortExecute () |
virtual void | AbortExecuteOn () |
virtual void | AbortExecuteOff () |
virtual void | SetProgress (double) |
virtual double | GetProgress () |
void | SetProgressText (const char *ptext) |
virtual char * | GetProgressText () |
virtual unsigned long | GetErrorCode () |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
virtual void | SetInputArrayToProcess (int idx, vtkInformation *info) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
virtual void | SetInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (vtkAlgorithmOutput *input) |
virtual void | SetInputDataObject (int port, vtkDataObject *data) |
virtual void | SetInputDataObject (vtkDataObject *data) |
virtual void | AddInputDataObject (int port, vtkDataObject *data) |
virtual void | AddInputDataObject (vtkDataObject *data) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
vtkAlgorithm * | GetInputAlgorithm () |
vtkExecutive * | GetInputExecutive () |
vtkInformation * | GetInputInformation () |
virtual void | Update (int port) |
virtual void | Update () |
virtual int | UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0) |
virtual int | UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0) |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
void | SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel) |
void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
int * | GetUpdateExtent () |
int * | GetUpdateExtent (int port) |
void | GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int extent[6]) |
void | GetUpdateExtent (int port, int extent[6]) |
int | GetUpdatePiece () |
int | GetUpdatePiece (int port) |
int | GetUpdateNumberOfPieces () |
int | GetUpdateNumberOfPieces (int port) |
int | GetUpdateGhostLevel () |
int | GetUpdateGhostLevel (int port) |
void | SetProgressObserver (vtkProgressObserver *) |
virtual vtkProgressObserver * | GetProgressObserver () |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
void | Register (vtkObjectBase *o) VTK_OVERRIDE |
void | UnRegister (vtkObjectBase *o) VTK_OVERRIDE |
virtual void | SetAbortExecute (int) |
virtual int | GetAbortExecute () |
virtual void | AbortExecuteOn () |
virtual void | AbortExecuteOff () |
virtual void | SetProgress (double) |
virtual double | GetProgress () |
void | SetProgressText (const char *ptext) |
virtual char * | GetProgressText () |
virtual unsigned long | GetErrorCode () |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
virtual void | SetInputArrayToProcess (int idx, vtkInformation *info) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
virtual void | SetInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (vtkAlgorithmOutput *input) |
virtual void | SetInputDataObject (int port, vtkDataObject *data) |
virtual void | SetInputDataObject (vtkDataObject *data) |
virtual void | AddInputDataObject (int port, vtkDataObject *data) |
virtual void | AddInputDataObject (vtkDataObject *data) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
vtkAlgorithm * | GetInputAlgorithm () |
vtkExecutive * | GetInputExecutive () |
vtkInformation * | GetInputInformation () |
virtual void | Update (int port) |
virtual void | Update () |
virtual int | UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0) |
virtual int | UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0) |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
void | SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel) |
void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
int * | GetUpdateExtent () |
int * | GetUpdateExtent (int port) |
void | GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int extent[6]) |
void | GetUpdateExtent (int port, int extent[6]) |
int | GetUpdatePiece () |
int | GetUpdatePiece (int port) |
int | GetUpdateNumberOfPieces () |
int | GetUpdateNumberOfPieces (int port) |
int | GetUpdateGhostLevel () |
int | GetUpdateGhostLevel (int port) |
void | SetProgressObserver (vtkProgressObserver *) |
virtual vtkProgressObserver * | GetProgressObserver () |
![]() | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
virtual vtkMTimeType | GetMTime () |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
Protected Member Functions | |
vtkUnstructuredPOPReader () | |
~vtkUnstructuredPOPReader () override | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
bool | Transform (vtkUnstructuredGrid *grid, size_t *start, size_t *count, int *wholeExtent, int *subExtent, int numberOfGhostLevels, int wrapped, int piece, int numberOfPieces) |
Transform the grid from a topologically structured grid to a sphere shaped grid and do any vector transformations on field data that is needed. More... | |
int | ProcessGrid (vtkUnstructuredGrid *grid, int piece, int numberOfPieces, int numberOfGhostLevels) |
Given the meta data about the grid partitioning, read in the data from the file and create the unstructured grid. More... | |
bool | ReadMetaData (int wholeExtent[6]) |
Reads the meta data from the NetCDF file for information like what variables exist and the dimensions of the grids and variables. More... | |
int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override |
void | LoadPointData (vtkUnstructuredGrid *grid, int netCDFFD, int varidp, size_t *start, size_t *count, ptrdiff_t *rStride, const char *arrayName) |
Adds a point data field given by varidp in the NetCDF file to the grid's point data. More... | |
void | ComputeVerticalVelocity (vtkUnstructuredGrid *grid, int *wholeExtent, int *subExtent, int numberOfGhostLevels, int latlonFileId) |
Compute the vertical velocity component and add it into the velocity field. More... | |
void | CommunicateParallelVerticalVelocity (int *wholeExtent, int *subExtent, int numberOfGhostLevels, VTKPointIterator &pointIterator, double *w) |
If the reader is being run in parallel, do the necessary communication to finish the vertical velocity integration on each process. More... | |
int | GetPointOwnerPiece (int iIndex, int jIndex, int kKindex, int numberOfPieces, int numberOfGhostLevels, int *wholeExtent) |
Given ijk indices with respect to WholeExtent, return the process that is considered owning this point. More... | |
void | GetPiecesNeedingPoint (int iIndex, int jIndex, int kKindex, int numberOfPieces, int numberOfGhostLevels, int *wholeExtent, vtkIdList *pieceIds) |
Given ijk indices, fill pieceIds with the pieces which contain need this point for computing the vertical velocity. More... | |
bool | GetExtentInformation (int piece, int numberOfPieces, int numberOfGhostLevels, int *wholeExtent, int *subExtent) |
Given piece, numberOfPieces, numberOfGhostLevels, and wholeExtent, this method fills in subExtent. More... | |
bool | BuildGhostInformation (vtkUnstructuredGrid *grid, int numberOfGhostLevels, int *wholeExtent, int *subExtent, int wrapped, int piece, int numberOfPieces) |
Build up the requested ghost information. More... | |
![]() | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkUnstructuredGridAlgorithm () | |
~vtkUnstructuredGridAlgorithm () | |
virtual int | FillOutputPortInformation (int port, vtkInformation *info) |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
![]() | |
vtkAlgorithm () | |
~vtkAlgorithm () | |
virtual void | SetNumberOfInputPorts (int n) |
virtual void | SetNumberOfOutputPorts (int n) |
int | InputPortIndexInRange (int index, const char *action) |
int | OutputPortIndexInRange (int index, const char *action) |
int | GetInputArrayAssociation (int idx, vtkInformationVector **inputVector) |
virtual vtkExecutive * | CreateDefaultExecutive () |
void | ReportReferences (vtkGarbageCollector *) VTK_OVERRIDE |
virtual void | SetNumberOfInputConnections (int port, int n) |
int | GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector) |
int | GetInputArrayAssociation (int idx, vtkDataObject *input) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkInformationVector **inputVector) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association) |
vtkDataArray * | GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector) |
vtkDataArray * | GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkDataObject *input) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkDataObject *input, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkDataObject *input) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association) |
vtkInformation * | GetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector) |
virtual void | SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input) |
void | SetInputDataInternal (int port, vtkDataObject *input) |
void | AddInputDataInternal (int port, vtkDataObject *input) |
int | GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector) |
int | GetInputArrayAssociation (int idx, vtkDataObject *input) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkInformationVector **inputVector) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association) |
vtkDataArray * | GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector) |
vtkDataArray * | GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkDataObject *input) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkDataObject *input, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkDataObject *input) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association) |
vtkInformation * | GetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector) |
virtual void | SetErrorCode (unsigned long) |
virtual void | SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input) |
void | SetInputDataInternal (int port, vtkDataObject *input) |
void | AddInputDataInternal (int port, vtkDataObject *input) |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Static Protected Member Functions | |
static void | SelectionModifiedCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata) |
static void | EventCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata) |
![]() | |
static vtkInformationIntegerKey * | PORT_REQUIREMENTS_FILLED () |
Protected Attributes | |
vtkCallbackCommand * | SelectionObserver |
char * | FileName |
The name of the file to be opened. More... | |
int | Stride [3] |
int | NCDFFD |
The NetCDF file descriptor. More... | |
double | Radius |
The radius of the sphere to be outputted in meters. More... | |
int | VOI [6] |
int | VectorGrid |
Specify whether the grid points are at the vector field (U_LAT and U_LON) locations or the scalar field (T_LAT and T_LON) locations or unset. More... | |
bool | VerticalVelocity |
If it is a vector grid (i.e. More... | |
bool | SubsettingXMin |
State variables so that we know whether or not we are only reading in part of the grid. More... | |
bool | SubsettingXMax |
State variables so that we know whether or not we are only reading in part of the grid. More... | |
bool | ReducedHeightResolution |
State variables so that we know whether or not we are only reading in part of the grid. More... | |
![]() | |
vtkInformation * | Information |
double | Progress |
char * | ProgressText |
vtkProgressObserver * | ProgressObserver |
unsigned long | ErrorCode |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
char * | OpenedFileName |
If a file is opened, the file name of the opened file. More... | |
virtual void | SetOpenedFileName (const char *) |
If a file is opened, the file name of the opened file. More... | |
Additional Inherited Members | |
![]() | |
SINGLE_PRECISION | |
DOUBLE_PRECISION | |
DEFAULT_PRECISION | |
int | AbortExecute |
![]() | |
static vtkExecutive * | DefaultExecutivePrototype |
read NetCDF files
vtkUnstructuredPOPReader reads NetCDF POP files into a spherical shaped grid. The input file has topologically structured data. The striding and VOI are done with respect to the topologically structured ordering. Additionally, the z coordinates of the output grid are negated so that the first slice/plane has the highest z-value and the last slice/plane has the lowest z-value. Note that depth_t is used for the z location of the points. For VOI and striding, striding is done first and then the VOI is done. For example, if stride was [1, 2, 3] for a [3600, 2400, 42] grid then the wholeExtent would be [0, 3600, 0, 1200, 0, 14] and then a VOI of [10, 300, 0, 1400, 2 8] would result in a whole extent of [10, 300, 0, 1200, 2, 8] with the first point being [10, 0, 6] in the [3600, 2400, 42] original grid. The reader also requires a GRID.nc file in the same directory as the main file. This is used to map from tripolar logical coordinates to lat-lon coordinates.
Definition at line 38 of file vtkUnstructuredPOPReader.h.
Definition at line 42 of file vtkUnstructuredPOPReader.h.
|
protected |
|
overrideprotected |
|
virtual |
Reimplemented from vtkUnstructuredGridAlgorithm.
|
static |
|
static |
|
overridevirtual |
Reimplemented from vtkUnstructuredGridAlgorithm.
|
virtual |
The NetCDF file to open.
|
virtual |
The NetCDF file to open.
Enable subsampling in i,j and k dimensions for the topologically structured input data.
Note that if number of points in the z-direction are reduced that the vertical velocity will not be computed.
|
virtual |
Enable subsampling in i,j and k dimensions for the topologically structured input data.
Note that if number of points in the z-direction are reduced that the vertical velocity will not be computed.
|
virtual |
Enable subsampling in i,j and k dimensions for the topologically structured input data.
Note that if number of points in the z-direction are reduced that the vertical velocity will not be computed.
Enable subsampling in i,j and k dimensions for the topologically structured input data.
Note that if number of points in the z-direction are reduced that the vertical velocity will not be computed.
|
virtual |
Enable subsampling in i,j and k dimensions for the topologically structured input data.
Note that if number of points in the z-direction are reduced that the vertical velocity will not be computed.
Set the VOI of for the topologically structured input data.
Note that if number of points in the z-direction are reduced that the vertical velocity will not be computed.
|
virtual |
Set the VOI of for the topologically structured input data.
Note that if number of points in the z-direction are reduced that the vertical velocity will not be computed.
|
virtual |
Set the VOI of for the topologically structured input data.
Note that if number of points in the z-direction are reduced that the vertical velocity will not be computed.
|
virtual |
Set the VOI of for the topologically structured input data.
Note that if number of points in the z-direction are reduced that the vertical velocity will not be computed.
|
virtual |
Set the VOI of for the topologically structured input data.
Note that if number of points in the z-direction are reduced that the vertical velocity will not be computed.
|
virtual |
Variable array selection.
Variable array selection.
Variable array selection.
|
virtual |
Variable array selection.
|
virtual |
Set the outer radius of the Earth.
By default it is 6371000 which assumes the length is in meters.
|
virtual |
Set the outer radius of the Earth.
By default it is 6371000 which assumes the length is in meters.
|
virtual |
Determine whether or not the input data is being interpolated at the U/vector points or T/scalar points.
0 means unset, 2 means vector field, and 1 means scalar field.
|
virtual |
Specify whether or not to compute the vertical velocity component from the horizontal velocity components.
Default is false which signifies do not compute.
|
virtual |
Specify whether or not to compute the vertical velocity component from the horizontal velocity components.
Default is false which signifies do not compute.
|
overrideprotectedvirtual |
Reimplemented from vtkUnstructuredGridAlgorithm.
|
staticprotected |
|
staticprotected |
|
protectedvirtual |
If a file is opened, the file name of the opened file.
|
protected |
Transform the grid from a topologically structured grid to a sphere shaped grid and do any vector transformations on field data that is needed.
|
protected |
Given the meta data about the grid partitioning, read in the data from the file and create the unstructured grid.
|
protected |
Reads the meta data from the NetCDF file for information like what variables exist and the dimensions of the grids and variables.
Returns true for success. Also fills out wholeExtent.
|
overrideprotectedvirtual |
Reimplemented from vtkUnstructuredGridAlgorithm.
|
protected |
Adds a point data field given by varidp in the NetCDF file to the grid's point data.
If the units is "centimeter/s" it scales the value by 1/100 (i.e. meter/s).
|
protected |
Compute the vertical velocity component and add it into the velocity field.
|
protected |
If the reader is being run in parallel, do the necessary communication to finish the vertical velocity integration on each process.
|
protected |
Given ijk indices with respect to WholeExtent, return the process that is considered owning this point.
Here the process that owns the piece will have compuated a valid vertical velocity value to share with other processes that need the integrated vertical velocity value. This method returns -1 if no appropriate piece is found.
|
protected |
Given ijk indices, fill pieceIds with the pieces which contain need this point for computing the vertical velocity.
Note that the pieces with ghost points only used the reader are not included in the returned Id list. The indices are with respect to WholeExtent.
|
protected |
Given piece, numberOfPieces, numberOfGhostLevels, and wholeExtent, this method fills in subExtent.
This method returns true for success.
|
protected |
Build up the requested ghost information.
Note that if the vertical velocity is computed that the reader needs an extra layer of ghost cells. This extra layer is removed before RequestData() is exited. The method returns true for success.
|
protected |
Definition at line 123 of file vtkUnstructuredPOPReader.h.
|
protected |
The name of the file to be opened.
Definition at line 128 of file vtkUnstructuredPOPReader.h.
|
protected |
If a file is opened, the file name of the opened file.
Definition at line 134 of file vtkUnstructuredPOPReader.h.
|
protected |
Definition at line 135 of file vtkUnstructuredPOPReader.h.
|
protected |
The NetCDF file descriptor.
Definition at line 143 of file vtkUnstructuredPOPReader.h.
|
protected |
The radius of the sphere to be outputted in meters.
The default value is 6371000.
Definition at line 149 of file vtkUnstructuredPOPReader.h.
|
protected |
Definition at line 151 of file vtkUnstructuredPOPReader.h.
|
protected |
State variables so that we know whether or not we are only reading in part of the grid.
SubsettingXMin and SubsettingXMax are used so that we can properly connect the grid in the longitudinal direction. We only compute the vertical velocity if we have the full height resolution of the grid.
Definition at line 161 of file vtkUnstructuredPOPReader.h.
|
protected |
State variables so that we know whether or not we are only reading in part of the grid.
SubsettingXMin and SubsettingXMax are used so that we can properly connect the grid in the longitudinal direction. We only compute the vertical velocity if we have the full height resolution of the grid.
Definition at line 162 of file vtkUnstructuredPOPReader.h.
|
protected |
State variables so that we know whether or not we are only reading in part of the grid.
SubsettingXMin and SubsettingXMax are used so that we can properly connect the grid in the longitudinal direction. We only compute the vertical velocity if we have the full height resolution of the grid.
Definition at line 163 of file vtkUnstructuredPOPReader.h.
|
protected |
Specify whether the grid points are at the vector field (U_LAT and U_LON) locations or the scalar field (T_LAT and T_LON) locations or unset.
0 means unset, 2 means vector field, and 1 means scalar field.
Definition at line 171 of file vtkUnstructuredPOPReader.h.
|
protected |
If it is a vector grid (i.e.
VectorGrid=2) then specify whether or not to compute the vertical velocity. This can be a costly computation so if the vertical velocity is not needed then keep this off (the default).
Definition at line 179 of file vtkUnstructuredPOPReader.h.