NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdf-java] Converting NetcdfFile with multiple time steps to multiple NetcdfFiles with single time steps

Hi all,

I'm using the Java Netcdf API (v4.2) to work with weather model output in 
Netcdf format.  However, I am trying to convert a  NetcdfFile with multiple 
time steps to a List of NetcdfFiles with single time steps, and I can't seem to 
find a direct way to accomplish this using the existing NetcdfFile methods 
without first reading a specific variable (which I would prefer not to do).  
I'm aware of how to solve this using NCO, but I would like to solve this using 
Java since that is the language in which the software is written.  If you could 
please offer a suggestion on the most effective way to accomplish the above, 
I'd really appreciate it.

Thanks a lot for your help!

Ross



  • 2017 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: