List of changes =============== Since version 1.0 ----------------- * The time axis was not updated properly when selecting File->Open, that is when loading fresh data from a diffeent netcdf file. * It is now also possible to run ncvtk from within the src directory, ie it not necessary to run setup.py install. The ncvtk script will find the modules to import. Since version 1.0.1 ------------------- * Can now read data of type short, all data will be promoted to float unless the type is double. * self.minmaxmode = nvVectorField.MINMAX_T now default. * Fixed scale problem in nvStructuredVectorArrowPlotPipeline.py * Improved logic in nvStructuredVectorArrowPlotPipeline.py, nvStructuredVectorArrowPlotPipelineGui.py and nvVectorField.py when components are deselected (made None) Since version 1.0.2 * Fixed a bug that caused frames to be saved with their indices offset by 1. * Fixed Cancel button functionality in "File->SaveAs" and "File->Record time frames". * Zeroes now prepended to frame numbers in "File->Record time frames" for easier sorting. * Added "Cancel" popup dialog to abort frame recording. Since version 1.0.3 ------------------- * Fixed a bug related to saving/loading settings. This was not working properly when the option value was 0. * Can specify custom list of contours. Removed custom contour editor, which could not be saved/loaded. * Data picking now available upon demand only (Data -> Probe). * Removed work in progress window. Progress of Min/Max data computation now displayed in main window. * Removed slider acceleration> Can now play movie in elevation. * New Options -> View gui to select viewing angle according to lon/lat positions. Since version 1.0.4 ------------------- * Bug fix: field was not properly loaded/read in nvColorStructGridPipeline and ContourStructGridPipeline when selecting it=0. * Bug fix: position of elevation slider was not reflecting elevation of field in scene. * Bug fix: C/D grid test in nvVectorField::GetPeriodicGrid was failing. Since version 1.0.5 ------------------- * New File->"Save script as" functionality, allowing the state of a visualization to be saved as a python script. Since version 1.1 ----------------- * Ncvtk now tests for the existence of a "positive" attribute in an axis to determine the whether the initial elevation should be nz-1 (if positive->down) or 0 (default). This is useful for fv data, which use the pressure as vertical coordinate; zero pressure is top and max pressure is surface. The initial elevation always attempts to be surface. * Added clipping capability via ['Valid min', 'Valid nax'] entry field setting in Color structured Grid pipeline. The Valid min/max values which are set from the NetCDF file attributes valid_range or valid_min/valid_max, can be overridden in the GUI to filter out data that fall outside the valid range. Since version 1.11 ------------------ * Fixed bug in File -> Record time frames (only the 1st time frame was recorded). * Bug: nvVectorField was failing on Float64 data. * nvCFConventions has been added with simple logic to determine axis types (longitude, latitude, vertical, time) and for variables with multidimensional axes. * nvAxisCollection now allows coordinate variables that depend on more than 1 dimension. nvAxis checks attributes with nvCFConventions to determine if it uses a warped 2D grid in the case of longitude and latitude. Padding is done for periodic longitude (using a crude test!). * nvField checks to see if it's warped. It pads latitude if longitude is warped AND periodic. * Added logic to bail out from color plot pipeline when the grid is warped. * A bug was fixed in nvUtils for LonLat2Sphere when warped grids were input. * nvStructuredVectorArrowPlotPipeline fixed to deal with warped meshes. CAVEAT: We still assume the components to be parallel to the lon/lat directions. Not clear whether this assumption is valid => to check with users. A warning message window will pop up when a warped mesh is detected for one or more components. * nvField: Allows probing of warped grids via VTK cell picking. * nvProbeGui: Bug fix. Mouse move observer is now removed from window interactor when ProbeGUI window is closed. Since version 1.2 ----------------- * nvContourStructGridPipeline(Gui): Support randomly placed labels for contours. * Added camera elevation control (zoom) in nvView. * bug fix. when uu is None and vv is Float64, then line uu += vv requires casting in nvVectorField.py. * structured vector arrow pipeline now working for warped meshes. * fixed contour labelling problem, preventing the labels to show up when running outside nvContourStructGridPipelineGui standalone test program. * Added more control for contour labelling: Label size and Label color. * Fixed bug in nvaxis preventing the correct determination of whether an axis is uniform or not. One manifestation of the bug was that the color did not show up at initialization of the color plot pipeline. Another manifestation was that the elevation slider of the color plot pipeline was greyed out for fields with vertical axis dependency. Since version 1.3 ----------------- * Added Mesh pipeline to represent fields with a mono-color wireframe. * added units class member to nvAxis * Added support for number of labels per contour for the Contour pipeline, and proper clipping of labels on the backside of a sphere. * Added a Time annotator to be displayed in the render window and an annotation menu for future annotators. * ProbeGui now reports indices for point's lat,lon for both warped and non-warped fields. * Added jpeg file format in "Save scene as" menu. * Fixed ia64 bug in nvLonLatGrid * It is no longer necessary to provide the logical (1-d) x, y axes in the case of warped grids (any such axis will do). In this case a default axis [0, 1] with the correct size will be returned by axes.GetAxis(name). * Pipeline windows now auto-resized. There is still a problem with fonts overflows, however, the window will now stretch to accomodate larger widgets. * Fixed "ERROR: In /home/ap/vtk/VTK/Filtering/vtkDemandDrivenPipeline.cxx" in nvContourStructGridPipeline. * Save script as now displays all python fiels by default. * Sun pipeline now has external light intensity control. * Fixed a few error messages pointing to empty axis names, which is not an error at initialization. * nvImageAnnotation and nvColorFunctionStructGridPipeline now can save their logo and colormap files. * Can now add button widgets in nvGenericGui. These typically take 2 callback functions as fileds 2 and 3 in the property dict: one invoked when the button is pressed and the other when the value is set via the Set method. * Bug fix in nvColorPlotPipeline preventing very small fields to be updated dues to the "option epsilon" check. Since version 1.4 ----------------- * Added destructor call in nvBackgroundGui to reset the color to black upon exiting. * New range control buttons in nvColorStructGridPipelineGui.py, allowing global vs elevation by elevation range computation, and auto vs user defined range settings. Also reduced the max number of smapling points in time for min/max computation from 20 to 10, since we now also need to compute across elevations. The default for the time being is 3 for the number of sampling points in elevations. May need to be changed. * Bug fix. User range was not properly updated when setting 0 value. * Made elevation slider resetting after change of variable consistent across the color and contour pipelines + Probe. * Added nvWorldMap option to create high resolution coastlines and political borders, among other lines. Since version 1.5 ----------------- * nvWorldMap.py npts was not an integer at line 162 * Added Data min/max and Valid min/max control to nvStructuredVectorArrowPlotPipeline. * Added control of planet color. * New nvGenericGui ScrolledList widget. * New vertical slice pipeline * Many small fixes. Since version 1.6 ----------------- * Added Drifters pipeline * Improved handling of warped mesh cases (picking should have been disabled) * New command line argument -G to tun off geolonlat warping * New pipeline Visualize -> Bump, which is similar to ColorStructGridPipeline except that the surface is no longer spherical, but radially perturbed by an ampount proportional to the normalized field. * New pipeline Visualize -> iso-surface Since version 1.7 ----------------- * Fixed "down" vertical axis orientation problem in iso_surface. * Added radius control to slice and vector arrow plot pipeline. * Made ncvtk VTK 5.1 compliant. Since version 1.7.5 ------------------- * Added Options->External light Version 2.0 ----------- Users are encouraged to migrate to ncvtk2, which has multiple NetCDF file support, the capability to perform flat projections, and other significant enhancements. * Added partial support to import CDAT objects. * All colormaps have been consolidated under the Colormaps menu to provide a consistent method to set colormaps across pipelines. Various colormap editors are available: from a simple HSVA based set of sliders to a generic editor that allows users to build RGB tables. * Thanks to the new colormap editor utility, pipelines reading colormaps from files are no longer useful have thus been eliminated (these are the so called Color User Function and friends). * Camera rolling utility added under Demos (Demos will likely be renamed in the future.) Version 2.1 ----------- * Added line plot pipeline * Fixed time initialization bug in many pipelines. Previously, pipelines would always be intantiated at slice it=0, irrespectively of the selected time. * Added streamline pipeline * Fixed vector projection for C-D meshes. * Fixed Data probing bug after nvField::GetData got extended. * Fixed anti-parallel vector bug in nvUtils.RotationCoefficients. * Fixed window occluding bug when recording time frames. Version 2.2 ----------- * Fixed isosurface projection bug occurring in Flat land. * nvTimeSequencer now threaded. This prevents freezing of frame recording whenever user switches virtual desktop. * Added new option to control domain size (-D lon_min,lon_max,lat_min,lat_max), which affects Options->{Grid, View, World Map}. Version 2.3 ----------- * Filled contours are now optional for the Visualize->Contour pipeline with the click of a checkbox in the Contour GUI. * Rectangular lon-lat images can be added for a custom domain with the new Option->Image window. * Probing has been updated to provide visual cues and to work with 3D visualizations, including those created by Visualize->Color, Vertical Slice, Isosurfce, Bump. The user no longer selects which field to probe from a list as before; instead, the visualized field graphics are probed directly in the rendered scene. * Fixed a bug in nvField that caused reading of all timesteps for a field from file. * Fixed time update of Vertical Slice for warped fields.