This page discusses running GSM with real time data from NCEP.

NCEP data server

Subroutines that are modified for NCEP data (provided by Jack Ritchie)

Sample gsm script: gsm (provided by Sai Ming)

You need to edit the following files:
write(52) ' ncep T382 surface file '
the character sting has to be 32characters long. Please insert blanks.

This subroutine was not written for a very high resolution global input file so you have to increase the dimension.

if(nfld.eq.1) then
land sea mask is in the first field in ncp1

#define _ilonf_ 1152
#define _ilatg_ 576
#define _ijcap_ 382
#define _ilevs_ 64
These are the input global file resolutions.
This will affect gsm/src/mtn gsm/src/co2 gsm/src/chgr
You will need to recompile these directories or you can recompile your entire gsm just to be sure. In any case, your cvar.env should reflect the change after configure-model. This is copied to runs/cvar.env by configure-scr and your gsm script will have INPUT_RESOLUTION=t382k64 and the arguments for scnvrt should be correct too (382:1152:576:64)



Please use the space below for posting files associated with questions ---

My date.f from an IBM machine. - Hideki
Files provided by Jack: ncp1tonoa1.F scnvrt scnvrt.F sfcfcnv.F sfcfld.h sfcfld.F - Sai Ming
gsm script used in my test: gsm - Sai Ming

My scnvrt script: checkcnv.sh - Hideki
scnvrt.data: scnvrt.data - Hideki
scnvrt.out: scnvrt.out - Hideki

Graphs showing GSM's skill in forecasting tropical cyclones and surges of the northeast monsoon: gsm-skill.ppt - Sai Ming

Discussions

khideki

converting NCEP data

khideki 14 August 2006 17:51:47

I received a question about GSM by email. Here's the question.

---

I have encountered some problems in running GSM with real time initial data and would like to seek your advices.

I downloaded the GSM codes using CVS and followed the on-line documentation to set up the model. I successfully ran the model (gsm6228, MPI version with 4 cpus) with the test data come with the model codes on an IBM p630 machine, which is of POWER4 architecture. (IBM SP is POWER3.)

Then I tried to run the global model on real time analysis data downloaded from NCEP's FTP server. The two initial data files downloaded from NCEP are gfs.t00z.sanl and gfs.t00z.sfcanl. I have to add an extension .ieee to the file names. Jack Ritchie has kindly provided some revised codes to me in order to ingest NCEP's data files.

However, the program scnvrt.x aborted and I got the following message in scnvrt.out:

DIMENSION MISMATCH
IMS= 1152 IDIM= 192
JMS= 576 JDIM= 94

Since Jack mentioned that the NCEP initial data are of higher resolution, I modified the following statements in the script gsm:

/home/gpfs1/user2/gsm/test0/libs/etc/scnvrt gsm $INITIAL_SFC_FILE_TYPE \
382:1152:576:64 \
-1:-1:-1:-1:-1 \
$fmt:bin $INITIAL_SIGMA:$INITIAL_SFC \
cnvrt_initial_sig:cnvrt_initial_sfc || exit 8

Then I got the following messages in fcstout.ft00 and the program fcst.x aborted.

0: spdmx(01:10)= 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.
0: spdmx(11:20)= 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.
0: spdmx(21:30)= 0. 0. 0. 0. 0. 0. 0. 0.
0: run failure. spdmax=0.
0: run failure. spdmax=0.

The leading zero on each row indicated that the message was from MPI task 0.

There is another interesting thing. I wanted to check if the serial version (MARCH=single) worked well. But the compilation of date.f (under the libs directory) failed with a lot of syntax error.

hko
hko 22 August 2006 01:53:32

Hi. Your files match well with mine. Sai Ming.

khideki

compiling date.f

khideki 14 August 2006 17:52:34

I am posting a question about compiling date.f in a separate thread.

---

There is another interesting thing. I wanted to check if the serial version (MARCH=single) worked well. But the compilation of date.f (under the libs directory) failed with a lot of syntax error.

khideki
khideki 14 August 2006 18:50:44

Make sure you are re-compiling the code correctly (see "Re-compiling the code" page [far bottom of the navigation bar on the left]. Please post the error message here.

johnlow

using gsm NCEP run output for rsim test

johnlow 14 April 2007 07:03:25

Is it possbile to use the output from this run as input to the rsim script. What is the format of the sig.ftxx and sfc.ftxx output files (ieee?). I generated 6 h output of sig and sfc output files. I did not try to download the test data (rsim script test) but instead just used the output data from the gsm NCEP run.

The script blew up at rinpg.x. Do I need to do some conversion of the sig and sfc files? Appreciate your advice.

Sample output from rinpg.x


vln global coef has max= 3.467909443828019E+043 min= -3.314300416290822E+041
at k= 25
vln global coef has max= 1.085993185725898E+044 min= -1.439076189719652E+042
at k= 26
vln global coef has max= 3.092553898758515E+043 min= -1.089600549367152E+043
at k= 27
vln global coef has max= 3.923198026923298E+043 min= -5.599858670049712E+042
at k= 28
u/m global coef has max= NaN min= 0.000000000000000E+000
at k= 1
u/m global coef has max= 0.000000000000000E+000 min= 0.000000000000000E+000
at k= 2
u/m global coef has max= 0.000000000000000E+000 min= NaN
at k= 3
u/m global coef has max= 0.000000000000000E+000 min= NaN
at k= 4
u/m global coef has max= NaN min= NaN
at k= 5
u/m global coef has max= NaN min= NaN
at k= 6
u/m global coef has max= NaN min= NaN
at k= 7
u/m global coef has max= NaN min= NaN
at k= 8
u/m global coef has max= NaN min= NaN
at k= 9
u/m global coef has max= NaN min= NaN
at k= 10
u/m global coef has max= NaN min= NaN
at k= 11
u/m global coef has max= NaN min= NaN
at k= 12
u/m global coef has max= NaN min= NaN
at k= 13
u/m global coef has max= NaN min= NaN
at k= 14



johnlow
johnlow 15 April 2007 00:48:27

Dear All, please ignore the earlier post. I manage to solve the problem by running the grsmrt process. Thanks.

hko

GSM initialized by NCEP GFS output

hko 16 December 2008 07:50:29

Hi,
I have been running GSM using realtime NCEP GFS native output (surface and sigma files) as initial conditions for more than a year. My experience is that, with such high resolution initial data, GSM is able to forecast development and movement of tropical cyclones over the western North Pacific and the South China Sea. On the contrary, in those GSM runs using re-analysis data as initial conditions, the vortices dissipated too rapidly. As you may be aware, tropical cyclones have a great impact on rainfall forecast.
Apart from tropical cyclones, GSM (initialized by the high resolution initial data) also demonstrated the skill of forecasting cold surges of the northeast monsoon affecting southern China. The timing of temperature drop is quite accurate, though the amplitude or magnitude may need calibration. I will try to upload one or two graphs to illustrate what I have said.
I hope that you can continue to provide support in the initialization of GSM using realtime NCEP GFS native output. Thanks.
Sai Ming