Skip to content

Commit

Permalink
changed all float time variables to double
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBarker-NOAA committed Oct 22, 2024
1 parent 5ecc0a7 commit 087d776
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ch05.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ variables:
lat:long_name = "latitude" ;
lat:units = "degrees_north" ;
lat:bounds = "lat_vertices" ;
float time(time) ;
double time(time) ;
time:long_name = "time" ;
time:units = "days since 1979-01-01" ;
float cell_area(cell) ;
Expand Down Expand Up @@ -1022,7 +1022,7 @@ variables:
mesh_edge_nodes:long_name = "Maps each edge to the 2 nodes it connects" ;
// Coordinate variables
float time(time) ;
double time(time) ;
time:standard_name = "time" ;
time:units = "days since 2004-06-01" ;
Expand Down
2 changes: 1 addition & 1 deletion ch06.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ dimension:
string80 = 80 ;
taxon = 2 ;
variables:
float time(time);
double time(time);
time:standard_name = "time" ;
time:units = "days since 2019-01-01" ;
float abundance(time,taxon) ;
Expand Down
8 changes: 4 additions & 4 deletions ch07.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ variables:
lat:long_name = "latitude" ;
lat:units = "degrees_north" ;
lat:bounds="lat_vertices" ;
float time(time) ;
double time(time) ;
time:long_name = "time" ;
time:units = "days since 1979-01-01 0:0:0" ;
float cell_area(cell) ;
Expand Down Expand Up @@ -299,7 +299,7 @@ variables:
double time_bnds(time,nv);
data:
time = 0., 12., 24., 36., 48.;
time_bnds = -12.,0., 0.,12., 12.,24., 24.,36., 36.,48.;
time_bnds = -12., 0., 0., 12., 12., 24., 24., 36., 36., 48.;
----
Note that in this example the time axis values coincide with the end of each interval.
It is sometimes desirable, however, to use the midpoint of intervals as coordinate values for variables that are representative of an interval.
Expand Down Expand Up @@ -363,10 +363,10 @@ variables:
TS_var:long_name="surface air temperature variance"
TS_var:units="K2";
TS_var:cell_methods="time: variance (interval: 1 hr comment: sampled instantaneously)";
float time(time);
double time(time);
time:units="days since 1990-01-01 00:00:00";
time:bounds="time_bnds";
float time_bnds(time,nv);
double time_bnds(time,nv);
data:
time=.5;
time_bnds=0.,1.;
Expand Down

0 comments on commit 087d776

Please sign in to comment.