question

Latham, Robert J. robl at mcs.anl.gov
Thu Aug 12 10:13:14 CDT 2021


On Thu, 2021-08-12 at 12:35 +0000, Sadegh Dalfardi wrote:
> I have a netcdf file and want to change the spatial and temporal
> scale whithout changing and conversion to another format. I want to
> know is it possible? If so please help or guide me cause i am a
> beginner.

I'm not 100% clear on what you're asking, so please follow up if I'm
missing the mark.

A NetCDF dataset (which parallel-netcdf and Unidata NetCDF both can
read and write) is fairly rigid in its structure.  If you have crated a
few variables of a given dimension, the only way to change those
variables and dimensions is to re-create the dataset.

There are tools such as the "netcdf operators" (NCO) which make such
manipulations easier, but if you have very large datasets it will take
some time.

If you have variables and you want them to grow over time then a
"record variable" might suit your needs.  A typical use case would be a
sensor array that is logging the environment.  Maybe the variable has
dimenions for latitude and longidue for each sensor in the array and a
third "UNLIMITED" dimension recoding the temperature every five
minutes.

==rob


More information about the parallel-netcdf mailing list