MantisBT - ParaView
View Issue Details
0013843ParaView(No Category)public2013-01-31 17:552013-05-22 20:27
Ken Moreland 
Ken Moreland 
normalminorhave not tried
closedfixed 
 
4.0 
TBD
13843-netCDF-time-13844-nrrd-ascii
incorrect functionality
0013843: netCDF CF reader should be more lenient on time units.
In order to specify a dimension as time within the netCDF CF reader, there must be a dimension variable with a units properties containing a string of a known time unit (as per the CF specification). However, that check is currently only looking for the substrings " since " or " until " expecting the units to be in the form of "<time_unit> since <date>" or "<time_unit> until <date>". However, the reader should also accept strings that match a valid <time_unit>.

The CF convention defines units as anything accepted by the udunits package (http://www.unidata.ucar.edu/software/udunits/ [^]). The attached udunits.dat (a text file) should contain a complete list of all time units that should be supported.
No tags attached.
? udunits.dat (16,739) 2013-01-31 17:55
https://www.vtk.org/Bug/file/9391/udunits.dat
Issue History
2013-01-31 17:55Ken MorelandNew Issue
2013-01-31 17:55Ken MorelandAssigned To => Ken Moreland
2013-01-31 17:55Ken MorelandFile Added: udunits.dat
2013-02-13 11:45Ken MorelandStatusbacklog => todo
2013-02-13 12:07Ken MorelandStatustodo => active development
2013-03-04 14:23Ken MorelandTopic Name => 13843-netCDF-time-13844-nrrd-ascii
2013-03-04 14:23Ken MorelandNote Added: 0030404
2013-03-04 14:23Ken MorelandStatusactive development => gatekeeper review
2013-03-04 14:23Ken MorelandResolutionopen => fixed
2013-03-05 10:35Utkarsh AyachitFixed in Version => git-master
2013-03-05 10:36Utkarsh AyachitNote Added: 0030411
2013-03-05 10:36Utkarsh AyachitStatusgatekeeper review => customer review
2013-05-18 20:00Utkarsh AyachitFixed in Versiongit-master => 4.0
2013-05-22 20:27Alan ScottNote Added: 0030830
2013-05-22 20:27Alan ScottStatuscustomer review => closed

Notes
(0030404)
Ken Moreland   
2013-03-04 14:23   
Git commit SHA: e43de0a82159e1d4f66a3a519071fae7f4641805
(0030411)
Utkarsh Ayachit   
2013-03-05 10:36   
merged in master, if applicable.
(0030830)
Alan Scott   
2013-05-22 20:27   
Trusting Ken, since I don't know how to test this fix. The attached file is not a netcdf file, but rather an information file.