Skip to content

Commit

Permalink
new MUMIP grid
Browse files Browse the repository at this point in the history
  • Loading branch information
willmayfield committed Feb 11, 2024
1 parent f4d864e commit 3cddb0d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
14 changes: 9 additions & 5 deletions ush/MUMIP_plot_domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@

# Computational grid definitions
ESGgrid_LON_CTR = 73.0
ESGgrid_LAT_CTR = -15.0
ESGgrid_LAT_CTR = -14.5
ESGgrid_DELX = 3000.0
ESGgrid_DELY = 3000.0
ESGgrid_NX = 1651
ESGgrid_NY = 1510
ESGgrid_NX = 1650
ESGgrid_NY = 1550

# Write component grid definitions

WRTCMP_nx = 1621
WRTCMP_ny = 1480
WRTCMP_nx = 1620
WRTCMP_ny = 1520
WRTCMP_lon_lwr_left = 50
WRTCMP_lat_lwr_left = -35.8
WRTCMP_dx = ESGgrid_DELX
Expand Down Expand Up @@ -109,6 +109,8 @@
(lbx1, lby1), # ignored
]

print("gnomonic_grid: ",verts1)

codes2 = [
Path.MOVETO,
Path.LINETO,
Expand Down Expand Up @@ -193,6 +195,8 @@ def get_lambert_points(gnomonic_map, lambert_map, pps):

verts3, codes3 = get_lambert_points(map1, map3, 10)

print("lambert grid: ",verts3)

# Now draw!

path = Path(verts3, codes3)
Expand Down
16 changes: 8 additions & 8 deletions ush/predef_grid_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -641,15 +641,15 @@
"MUMIP_IO_3km":
GRID_GEN_METHOD: "ESGgrid"
ESGgrid_LON_CTR: 73.0
ESGgrid_LAT_CTR: -15.0
ESGgrid_LAT_CTR: -14.5
ESGgrid_DELX: 3000.0
ESGgrid_DELY: 3000.0
ESGgrid_NX: 1651
ESGgrid_NY: 1510
ESGgrid_NX: 1650
ESGgrid_NY: 1550
ESGgrid_PAZI: 0.0
ESGgrid_WIDE_HALO_WIDTH: 6
DT_ATMOS: 36
LAYOUT_X: 46
LAYOUT_X: 48
LAYOUT_Y: 24
BLOCKSIZE: 32
QUILTING:
Expand All @@ -660,9 +660,9 @@
WRTCMP_cen_lat: -15.0
WRTCMP_stdlat1: -15.0
WRTCMP_stdlat2: -15.0
WRTCMP_nx: 1621
WRTCMP_ny: 1480
WRTCMP_lon_lwr_left: 50
WRTCMP_lat_lwr_left: -35.8
WRTCMP_nx: 1620
WRTCMP_ny: 1520
WRTCMP_lon_lwr_left: 48.0
WRTCMP_lat_lwr_left: -36.0
WRTCMP_dx: 3000.0
WRTCMP_dy: 3000.0

0 comments on commit 3cddb0d

Please sign in to comment.