@@ -59,38 +59,6 @@ def main():
59
59
cice .grid_f .inputfile_md5 = md5sum (args .ocean_hgrid )
60
60
cice .grid_f .history_command = f"python make_CICE_grid.py { args .ocean_hgrid } { args .ocean_mask } "
61
61
62
- #AS: based on https://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/build/ch05s06.html
63
- crs = cice .grid_f .createVariable ('tripolar' , 'S1' )
64
- crs .grid_mapping_name = "tripolar_latitude_longitude"
65
- crs .crs_wkt = """
66
- GEOGCRS["WGS 84",
67
- ENSEMBLE["World Geodetic System 1984 ensemble",
68
- MEMBER["World Geodetic System 1984 (Transit)"],
69
- MEMBER["World Geodetic System 1984 (G730)"],
70
- MEMBER["World Geodetic System 1984 (G873)"],
71
- MEMBER["World Geodetic System 1984 (G1150)"],
72
- MEMBER["World Geodetic System 1984 (G1674)"],
73
- MEMBER["World Geodetic System 1984 (G1762)"],
74
- MEMBER["World Geodetic System 1984 (G2139)"],
75
- ELLIPSOID["WGS 84",6378137,298.257223563,
76
- LENGTHUNIT["metre",1]],
77
- ENSEMBLEACCURACY[2.0]],
78
- PRIMEM["Greenwich",0,
79
- ANGLEUNIT["radian",1]],
80
- CS[ellipsoidal,2],
81
- AXIS["geodetic latitude (Lat)",north,
82
- ORDER[1],
83
- ANGLEUNIT["radian",1]],
84
- AXIS["geodetic longitude (Lon)",east,
85
- ORDER[2],
86
- ANGLEUNIT["radian",1]],
87
- USAGE[
88
- SCOPE["Horizontal component of 3D system."],
89
- AREA["World."],
90
- BBOX[-80,80,90,80]],
91
- ID["EPSG",4326]]
92
- """
93
-
94
62
cice .write ()
95
63
96
64
cice .create_masknc (mask_file )
@@ -103,4 +71,4 @@ def main():
103
71
cice .write_mask ()
104
72
105
73
if __name__ == '__main__' :
106
- sys .exit (main ())
74
+ sys .exit (main ())
0 commit comments