Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [netcdfgroup] Fast interconversion between netCDF4 and netCDF-classic

Aidan,

NetCDF4 and netCDF4 Classic, actually *all* of the format variations, are
intended to present a uniform and seamless interface to the user, unless
advanced features are used.  I am curious about your reasons for wanting to
convert.  I wonder whether you have run into the same issues I have hit,
application software that changes behavior in a format sensitive way when
reading.

Sorry to distract from your real question.

--Dave


On Tue, Feb 17, 2015 at 5:58 PM, Aidan Heerdegen <aidan.heerdegen@xxxxxxxxxx
> wrote:

> Hi,
>
> We've got a LOT of data in netCDF4 format that we think, for a few reasons,
> we would probably like in netCDF4 Classic Model format.
>
> The data itself does not require any of the added features of netCDF4.
>
> Converting it all with nccopy would take a very very long time. I have a
> suspicion that under the hood there will be very little different between
> the files. I've done a test with a 400Mb test file, there are only 168
> bytes
> different between the netcdf4 and netcdf4-classic versions of the data.
>
> Is there a smart/fast/safe way to convert netCDF4 data "in-place" to
> netCDF4-classic?
>
> Thanks
>
> Aidan
>
  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: