This reader reads unstructured grid MPAS data from a file. It creates a dual grid It assumes the grid is in the global domain. By default, it creates a spherical view of vertical layer 0. It assumes it is ocean data. It gives several options to change the view to multilayer (all vertical layers will have a thickness determined by the value in the slider), lat/lon projection or atmospheric (vertical layers go out away from the center of the sphere, instead of down towards the center as they do for ocean data). It doesn’t handle data in the rectangular domain. This is not a parallel reader. It expects one .nc file of data. It can display cell or vertex-centered data, but not edge data. When converted to the dual grid, cell-centered data becomes vertex-centered and vice-versa. NOTES: When using this reader, it is important that you remember to do the following: 1. When changing a selected variable, remember to select it also in the drop down box to color by. It doesn’t color by that variable automatically 2. When selecting multilayer sphere view, start with layer thickness around 100,000 3. When selecting multilayer lat/lon view, start with layer thickness around 10 4. Always click the -Z orientation after making a switch from lat/lon to sphere, from single to multilayer or changing thickness. 5. Be conservative on the number of changes you make before hitting Apply, since there may be bugs in this reader. Just make one change and then hit Apply. For problems, contact Christine Ahrens (firstname.lastname@example.org)
- This property lists which NetCDF dual-grid cell variables to load.
- This property specifies where the center will be viewed for a lat/lon projection.
- This property specifies the file name to read. It should be an MPAS format NetCDF file ending in .nc.
- This property indicates whether data is atmospheric. Checking this ensures the vertical levels will go up away from the sphere instead of down towards the center.
- This property specifies how thick the layer should be if viewing the data in multilayer view. Each layer corresponds to a vertical level. A good starting point is 100,000 for the spherical view and 10 for the lat/lon projection. Click on -Z after applying this change, since the scale may change drastically.
- This property lists which NetCDF dual-grid point variables to load.
- This property indicates whether to view the data in the lat/lon projection.
- This property indicates whether to show multiple layers in one view, with each vertical level having the same thickness, specified by the layer thickness slider. For ocean data, the layers correspond to data at vertical level whose number increases towards the center of the sphere. For atmospheric data, the layers correspond to data at vertical levels increasing away from the center.
- This property ensures that the dimension info is always shown in the ParaView GUI.
- Returns cell data information
- Returns field data information
- Returns point data information
- dictionary for instance variables (if defined)
- list of weak references to the object (if defined)
Initialize = aInitialize(self, connection=None, update=True)
- Called when the filename of a source proxy is changed.
- Returns the associated cell data information.
- GetDataInformation(self, idx=None)
- This method returns a DataInformation wrapper around a vtkPVDataInformation
- Returns the associated cell data information.
- Returns the associated point data information.
- UpdatePipeline(self, time=None)
- This method updates the server-side VTK pipeline and the associated data information. Make sure to update a source to validate the output meta-data.
- This method updates the meta-data of the server-side VTK pipeline and the associated information properties
- __getitem__(self, idx)
- Given a slice, int or string, returns the corresponding output port
- GetProperty(self, name)
- Given a property name, returns the property object.
- GetPropertyValue(self, name)
- Returns a scalar for properties with 1 elements, the property itself for vectors.
- InitializeFromProxy(self, aProxy, update=True)
- Constructor. Assigns proxy to self.SMProxy, updates the server object as well as register the proxy in _pyproxies dictionary.
- Returns a list of all property names on this proxy.
- SetPropertyWithName(self, pname, arg)
- Generic method for setting the value of a property.
- Destructor. Cleans up all observers as well as remove the proxy from the _pyproxies dictionary
- __eq__(self, other)
- Returns true if the underlying SMProxies are the same.
- __getattr__(self, name)
- With the exception of a few overloaded methods, returns the SMProxy method
- Return hash(self).
- __init__(self, **args)
- Default constructor. It can be used to initialize properties by passing keyword arguments where the key is the name of the property. In addition registrationGroup and registrationName (optional) can be specified (as keyword arguments) to automatically register the proxy with the proxy manager.
- Creates an iterator for the properties.
- __ne__(self, other)
- Returns false if the underlying SMProxies are the same.
- __setattr__(self, name, value)
- Implement setattr(self, name, value).
add_attribute(self, name, value)
For the full list of servermanager proxies, please refer to Available readers, sources, writers, filters and animation cues