Ticket #57027: genweights.ncl
File genweights.ncl, 529 bytes (added by lvankampenhout (Leo van Kampenhout), 6 years ago) |
---|
Line | |
---|---|
1 | load "$NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl" |
2 | |
3 | begin |
4 | dstGridName = "RACMO_SCRIP.nc" |
5 | |
6 | ; ============================ |
7 | ; source file |
8 | ; ============================ |
9 | |
10 | latlon = "target_grid2.nc" |
11 | f2 = addfile(latlon, "r") |
12 | |
13 | Opt = True |
14 | Opt@ForceOverwrite = True |
15 | Opt@PrintTimings = True |
16 | Opt@Title = "RACMO DMIS 5.5 km grid" |
17 | Opt@NetCDFType = "netcdf4" |
18 | |
19 | curvilinear_to_SCRIP(dstGridName,f2->lat,f2->lon,Opt) ; LvK: this is preferred, works with CDO |
20 | end |