Hi PyNIO people,
I have written a converter which takes our ocean model output and
converts it to NetCDF. Previously I closed and reopened my NetCDF file
before adding a new timestep to the file. This way I had no problems
getting the length of the unlimited time dimension using the
NioFile.dimensions['time'] variable.
For performance reasons I am now keeping the file opened. When I try to
get the number of time steps in the file I now get None. How can I get
the current number of time steps or can I write a new timestep to the
file without knowing the number of time steps in it?
There was an old post about something similar but the attached file has
disappeared:
http://www.pyngl.ucar.edu/User_forum/Archives/2007/0117.html
Hope you can help
Jesper
-- --- Jesper Larsen, Ph.D. National Environmental Research Institute, University of Aarhus _______________________________________________ pyngl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/pyngl-talkReceived on Mon Feb 02 2009 - 07:18:46 MST
This archive was generated by hypermail 2.2.0 : Tue Mar 03 2009 - 09:55:28 MST