Skip to content

Commit

Permalink
Merge pull request #2949 from WardF/nczarr-zip-fix.wif
Browse files Browse the repository at this point in the history
Propegate change to metadata and use of anonymous dimensions to NCZarr test
  • Loading branch information
WardF authored Jul 15, 2024
2 parents c0c2910 + 538c683 commit 92c0f44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions nczarr_test/ref_newformatpure.cdl
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
netcdf ref_oldformat {
dimensions:
lat = 8 ;
_Anonymous_Dim_8 = 8 ;
_Anonymous_Dim_10 = 10 ;
variables:
int lat(lat) ;
int lat(_Anonymous_Dim_8) ;
lat:_FillValue = -1 ;
string lat:lat_attr = "latitude" ;
data:
Expand Down
9 changes: 4 additions & 5 deletions nczarr_test/ref_oldformat.cdl
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
netcdf ref_oldformat {
dimensions:
lat = 8 ;
_Anonymous_Dim_8 = 8 ;
_Anonymous_Dim_10 = 10 ;
variables:
int lat(lat) ;
int lat(_Anonymous_Dim_8) ;
lat:_FillValue = -1 ;
lat:lat_attr = "latitude" ;
data:

lat = 1, 2, 3, 4, 5, 6, 7, 8 ;

group: g1 {
dimensions:
lon = 10 ;
variables:
int pos(lat, lon) ;
int pos(_Anonymous_Dim_8, _Anonymous_Dim_10) ;
pos:_FillValue = -1 ;
pos:pos_attr = "latXlon" ;

Expand Down
Binary file modified nczarr_test/ref_oldformat.zip
Binary file not shown.

0 comments on commit 92c0f44

Please sign in to comment.