Skip to content

Commit

Permalink
rm grid mapping attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-seaice committed Apr 16, 2024
1 parent f0e9cfd commit 819204c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions esmgrids/cice_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ def write(self, grid_filename, mask_filename, metadata=None):

# Add the typical crs (i.e. WGS84/EPSG4326 , but in radians).
crs = f.createVariable("crs", "S1")
crs.grid_mapping_name = "tripolar_latitude_longitude"
crs.crs_wkt = 'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["radians",1,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]'

# Add global metadata
Expand All @@ -197,7 +196,6 @@ def write(self, grid_filename, mask_filename, metadata=None):

# Add the typical crs (i.e. WGS84/EPSG4326 , but in radians).
crs = f.createVariable("crs", "S1")
crs.grid_mapping_name = "tripolar_latitude_longitude"
crs.crs_wkt = 'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["radians",1,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]'

# Add global metadata
Expand Down

0 comments on commit 819204c

Please sign in to comment.