Opened 17 years ago
Closed 17 years ago
#125 closed bug (Fixed)
Extra ocean_time in coordinate attribute for r2dvars for spherical grids
Reported by: | jprinehimer | Owned by: | arango |
---|---|---|---|
Priority: | trivial | Milestone: | Release ROMS/TOMS 3.1 |
Component: | Nonlinear | Version: | 3.1 |
Keywords: | Cc: |
Description
In def_var.F, line 456, the coordinate attribute for r2dvars on spherical grids is set as:
text='lon_rho lat_rho ocean_time'
and then a second 'ocean_time' is appended at line 501 for 3D variables like zeta, bed surface properties, etc. This results in the following coordinate attribute in the netcdf file:
ncdump -h ocean_his.nc | grep zeta >> double zeta(ocean_time, eta_rho, xi_rho) ; ... >> zeta:coordinates = "lon_rho lat_rho ocean_time ocean_time" ; ...
For non-spherical grids the coordinate attribute is set as:
text='x_rho y_rho'
and 'ocean_time' is appended as appropriate.
Note:
See TracTickets
for help on using tickets.
Yes, I missed that one. Good catch.