[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gribtonc and gaussian grids



On Thu, 19 Jul 2001, Joerg Wegner wrote:

> Hi,
> after installing all the necessary stuff to run gribtonc, I believe that it 
> would be able
> to run, ah yes, if  I would be able to feed it with a correct .cdl file. We 
> have cmip data files
> in t42 resolution ( 128x64  gridpoints) that is not a regular but a gaussian 
> grid. Is there
> someone with experience in converting such files? Is it in general possible 
> to do so?
> Thanks for help
> Joerg


Joerg,

I would start by inspecting all the current cdl files, find the one the
most matches your data.  Then I would run gribtonc in verbose mode and
make the output come to the screen.  This will show the variable names 
 that gribtonc is expecting.  Using this information I would update
the cdl until no more messages.  I know this is a trial and error method
but once one does this process a couple of runs it's works out fast. To
run gribtonc from the command line in verbose mode:

% gribtonc -vl - your.cdl your.nc < <rawdata file>

One can also look at the raw data with utility:

% gribdump <rawdata file>

Robb...



> Max Planck Institut fuer Meteorologie
> Bundesstrasse 55
> 20146 Hamburg
> Telefon:  49 - (0)40 41173 178
> Telefax:  49 - (0)40 41173 400
> email: address@hidden
> 

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================