Error when run make grid with customized ESGgrid

Dear community,

I tried to run a specifying custom ESGgrid based on the case (Link: https://dtcenter.org/sites/default/files/events/2021/13-defining-custom-domain.pdf). However, I met this error when I tried to make the grid (run_make_grid):

 

Creating namelist file (rgnl_grid_nml_fp) to be read in by the grid
generation executable (exec_fp):
  rgnl_grid_nml_fp = "/lcrc/project/OW_UFS/UFS_TestCase/TEST_US_EAST_COAST_3km/grid/tmp/regional_grid.nml"
  exec_fp = "/lcrc/project/OW_UFS/ufs-srweather-app/bin/regional_esg_grid"
STOP Failure flag returned from get_bestesg
arcx, arcy  11.4933  0.0000
In bestesg_geo; a nonpositive domain parameter, garcx or garcy
0.00user 0.01system 0:00.25elapsed 6%CPU (0avgtext+0avgdata 13524maxresident)k
0inputs+0outputs (0major+368minor)pagefaults 0swaps
 

The settings for the grid in config.sh are exactly the same as the RRFS_SUBCONUS_3km in set_predefined_grid_params.sh. I am doing this because I want to have a test so that I can specify other domains (which also failed because of this error)

I am not sure which step(s) caused the nonpositive domain parameter. I have attached my config.sh and error file.

I've tested the model with a predefined domain, did not have this error.

 

Any helps are much appreciated,

Regards,

Haochen

 

When I set PREDEF_GRID_NAME="RRFS_SUBCONUS_3km" in config.sh and then run_make_grid, it worked.

I noticed the difference on arcx and arcy below:

Creating namelist file (rgnl_grid_nml_fp) to be read in by the grid
generation executable (exec_fp):
  rgnl_grid_nml_fp = "/lcrc/project/OW_UFS/UFS_TestCase/TEST_US_EAST_COAST_3km/grid/tmp/regional_grid.nml"
  exec_fp = "/lcrc/project/OW_UFS/ufs-srweather-app/bin/regional_esg_grid"
arcx, arcy  11.4933  8.2558
For lam=    0.80 the best [smallest possible]
optimality criterion, Q, for this domain:  0.284581E-05
The corresponding optimal A and K:   0.1606  -0.3038
The corresponding m_arcx,y:  0.2002235668190E+00  0.1439522629099E+00
x and y central grid resolution in map units:  0.23500E-03  0.23522E-03
Get additional diagnostics from hgrid_ak_rr
0.99user 0.16system 0:01.27elapsed 90%CPU (0avgtext+0avgdata 166672maxresident)k
0inputs+0outputs (0major+2968minor)pagefaults 0swaps
 

I am not sure why arcx is the same but arcy in 0 when I set customized grid.

Hi Haochen,

Sorry I accidentally overlooked this question.  Did you end up figuring it out or do you still need help?

Gerard

Permalink

In reply to by gerard.ketefian

Hi Gerard,

Thanks for the reply!

I don't know what cause this error but I ended up using config.sh to define the custom grid instead of defining new grid in set_predefined_grid_params.sh.

 

Haochen

Attach Files