Choosing a regional domain


Before you start



RPROJ mapping projection index
RTRUTH latitude where the map plane cuts through the earth’s surface
RORIENT domain orientation longitude (this parameter is valid for PSP only??? usually same as RCENLON for MP)
RDELX grid spacing in meter in x-direction at RTRUTH.
RDELY grid spacing in meter in y-direction at RTRUTH.
RCENLAT reference latitude
RCENLON reference longitude
RLFTGRD a grid number in x-direction
RBTMGRD a grid number in y-direction


Mercator projection

image001.gif
RLFTGRD = INT(Lx/RDELX): Grid number measured from (RCENLON, RCENLAT) to the west. Let us call this point L.
RBTMGRD = INT(Ly/RDELY): Grid number measured from (RCENLON, RCENLAT) to the south. Let us call this point B.
The total grid number in x-direction is igrd (measured from point L to the east).
The total grid number in y-direction is jgrd (measured from point B to the north).

Polar stereographic projection

image002.gif
RLFTGRD = INT(Lx/RDELX): Grid number measured from point B to the west. Let us call this point L.
RBTMGRD = INT(Ly/RDELY): Grid number measured from the pole to the south (in case of NPSP). Let us call this point B.
The total grid number in x-direction is igrd (measured from point L to the north).
The total grid number in y-direction is jgrd (measured from point B to the north).



First step (choosing igrd, jgrd, and parameters).

define.h

configure-model

rsm_domains

configure-scr

Discussions

hko

Setting define.h

hko 24 November 2006 17:10:34

Hi,
I want to set up a regional domain with 64 x 65 grib points. I created rsm/def/rsm6228r6465 but I am not sure how to modify rsm/def/rsm6228r6465/define.h

Sai Ming

hko
hko 24 November 2006 17:12:37

It should be 64 x 65 grid points in my previous message. Sorry for the typo error.
Sai Ming

scchan.2009

Argument Error

scchan.2009 08 October 2008 21:43:47

Hello,

Not sure if this is the place to post this, but I was playing in changing the domain size with the rsim script, and receive the following error when trying to do make in the rsm directory:

+ echo 'co2con created on /elninost/scchan/G-RSM/libs/etc/date argument error'
make[2]: Leaving directory `/elninost/scchan/G-RSM/rsm/src/co2'
make[1]: Leaving directory `/elninost/scchan/G-RSM/rsm/src'

I am not sure if I am providing enough information, please tell me if you need more.

The rsim script with default setting (except switching to using local files) ran properly with a reasonable model solution.

Thank you

mkanamitsu
mkanamitsu 08 October 2008 22:06:14

The "date" error occurred to a couple of people before. This error is due to the problem in setting your path in your resource file. The script "date" exists in your operating system, but also there is a script with the same name "date" in the CVS scripts. If the path is not set correctly, wrong "date" is called by cvs scripts which results in the error you described.

Check your path in your resource file (.cshrc, .bashrc, .login, ... etc), and make sure that the path to CVS directory is after the path to /bin or /usr/bin (or wherever the system date resides). Do not make the CVS model directory at the beginning of your path definition.