p2sig: conversion from pressure level to sigma level

p2sig converts pressure leveled grib data to sigma leveled spectral coefficients data. Usage is;
$ runscr/p2sig input(pressure) output(sigma) YYYY:MM:DD:HH:FF

Updates

How to install

p2sig will be installed with the latest version of GSM and RSM. If you want to install it separately,
  1. $ cd gsm (or rsm) ; cvs update src/p2sig ; cvs update src/mtn ; cvs update configure-model
  2. $ configure-model (make Makefile)
  3. $ cd gsm/src/p2sig ; make
  4. $ cd gsm/src/mtn ; make
  5. $ cd gruns/runscr ; cvs co p2sig.in p2sig_era.in
  6. $ cd gruns ; configure-scr gsm (or rsm, rsim, etc)

Options (see runscr/p2sig)

Notes

Example

Discussions

hko

p2sig

hko 15 April 2008 02:27:04

Hi,
1. Can I run p2sig independently to get a sigma file?
2. Does the output sigma file have the same format as the NCEP/NCAR Re-analysis sigma file?
3. How about the initial surface file for GSM? Does p2sig also generate a surface file?

Sai Ming

akhil
akhil 06 April 2015 19:32:26

Thanks Kei, You guessed it right, It was not readable with wgrib, I made some changes in the download script to get the proper wgrib readable files and now I can successfully run p2sig_era. However, my model is blowing on very first time step. Initially I though it is due to unit issue of (Geopotential Height; ECMWF uses z*9.8(g)), but my guess was not right. I have another followup question in this regard, are we supposed to follow certain order while preparing grib files for p2sig? For example vertical levels from surface to top and variables in a predefined order? Is there anyway I can verify that my p2sig_era output is rightly written?
Once again many thanks for your response.
Regards
Akhilesh