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.
Hi, I'm trying to use the fortran routines to write groups which include variables with an unlimited (time) dimension. My test case is a model that outputs 23 time slices. When I run it without using groups or have a group that contains a variable with static dimensions the size of the time dimension is correct (23). However, when I try to include a variable with a time dimension in the group, the size of the time dimension jumps to be the same as the largest space dimension (x2d). One post I found (File size, unlimited dimensions, compression and chunks) suggests changing the chunking of the unlimited variable to something other than one. I increased the chunking on the time dimension to 512, and it made no difference. ###################################################### With no groups netcdf test1_tseries { dimensions: time = UNLIMITED ; // (23 currently) x2d = 99 ; y2d = 5 ; variables: double time(time) ; time:long_name = "time" ; time:units = "days since 2002-10-01 00:00:00 +00:00" ; short el(time, y2d, x2d) ; el:long_name = "Surface elevation" ; el:units = "m" ; // global attributes: :title = "Test case channel" ; } ###################################################### With group defined and a static dimension variable added to it netcdf test1_tseries { dimensions: time = UNLIMITED ; // (23 currently) x2d = 99 ; y2d = 5 ; variables: double time(time) ; time:long_name = "time" ; time:units = "days since 2002-10-01 00:00:00 +00:00" ; short el(time, y2d, x2d) ; el:long_name = "Surface elevation" ; el:units = "m" ; // global attributes: :title = "Test case channel" ; group: elev { variables: double h(y2d, x2d) ; h:long_name = "Bottom depth" ; h:units = "m" ; } // group elev } ###################################################### with group defined and a time varying variable added netcdf test1_tseries { dimensions: time = UNLIMITED ; // (99 currently) x2d = 99 ; y2d = 5 ; variables: double time(time) ; time:long_name = "time" ; time:units = "days since 2002-10-01 00:00:00 +00:00" ; // global attributes: :title = "Test case channel" ; group: elev { variables: short el(time, y2d, x2d) ; el:long_name = "Surface elevation" ; el:units = "m" ; } // group elev } ###################################################### with different space dimensions netcdf test1_tseries { dimensions: time = UNLIMITED ; // (70 currently) x2d = 70 ; y2d = 5 ; variables: double time(time) ; time:long_name = "time" ; time:units = "days since 2002-10-01 00:00:00 +00:00" ; // global attributes: :title = "Test case channel" ; group: elev { variables: short el(time, y2d, x2d) ; el:long_name = "Surface elevation" ; el:units = "m" ; } // group elev } Thanks Glenn Carter Department of Oceanography University of Hawaii -- View this message in context: http://netcdf-group.1586084.n2.nabble.com/Groups-containing-variables-with-unlimited-dimension-tp7575183.html Sent from the NetCDF Group mailing list archive at Nabble.com.
netcdfgroup
archives: