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

Re: AVN GrIb to netcdf



On Thu, 13 Mar 2003, Vasso Kotroni wrote:

> Dear Robb
>
> thank you for your reply
> I have downloaded the latest version of decoders (decoders-2.4.4)
> and installed it in my LINUX system.
> Then i applied it to an avn 1x1 deg global file and the results is the
> following
> gribdump works prefectly
> gribtocdl works perfecltly and i produced a cdl file that i attach (00.cdl)
> then i am doing
> gribtonc and it stops with a segmentation fault
> (indeed i execute $gribtonc -v 00.cdl 00.nc <mygribfile)
> It begins to write into the 00.nc but writes only the headers (i checked
> with the ncdump)
> Do you have an idea what is happening?
> Did you do it in LINUX

Vasso,

I'm at a loss here, I used your cdl 00.cdl and it converted a avn 1x1
degree grid with no problem. I was using a decoders-2.4.4.tar.Z, linux 7.3
system and the gcc compiler.  You might want to set CC first,

in csh use
% setenv CC gcc
or borne, bash, etc
% CC=gcc;export CC

Make sure to run:

% make distclean
% ./configure

again.


Also when you run gribtonc set a log file, ie

% gribtonc -vl log 00.cdl avn.nc < onedeg

The log file should have errors in it.   You could send me the log file,
that should help. If the file is large, remove the -v flag because
critical errors will still be written to log

Robb...

> I would appreciate any help
> best regards
> Vasso
>
> ----------------------------------------------------------------------------
> --------
> Dr. Vassiliki KOTRONI
> Institute of Environmental Research
> National Observatory of Athens
> Lofos Koufou, P. Pendeli, GR-15236
> Athens, Greece
> Tel: +30 2 10  8109126
> Fax: +30 2 10 8103236
> Daily weather forecasts at: www.noa.gr/forecast
>
> ----- Original Message -----
> From: "Robb Kambic" <address@hidden>
> To: "Vasso Kotroni" <address@hidden>
> Cc: "decoders" <address@hidden>
> Sent: Tuesday, February 18, 2003 5:54 PM
> Subject: Re: AVN GrIb to netcdf
>
>
> >
> > Vasso,
> >
> > First I want to apologize for the delay in getting back to you.  I was out
> > of town at the AMS meeting last week and yesterday was a USA holiday.
> >
> > First, I believe you obtained a older version of the code that had the
> > bugs that you mentioned.
> >
> > The latest version of the code is: decoders-2.4.1.tar.Z
> >
> > This code can be obtained by ftp
> >
> > % ftp www.unidata.ucar.edu
> >
> > login as anonymous
> >
> > % cd pub/decoders
> > % get decoders-2.4.1.tar.Z
> >
> > The decoders-2.4.1.tar.Z is source code that has to be built, I usually
> > don't build binaries because there are so many platforms. There is a
> > decoders home page with hints about installation at:
> >
> > http://www.unidata.ucar.edu/packages/decoders
> >
> > I checked the cdls that come with the package, there are ones for the
> >
> > avn-1.25x1.25.cdl and avn-1.0x1.0.cdl included.
> >
> > I hope this solves your problems.
> >
> > Robb...
> >
> >
> >
> >
> > On Thu, 13 Feb 2003, Vasso Kotroni wrote:
> >
> > > Dear coleague
> > >
> > > i have downloaded the decoders you are providing in order to convert AVN
> GRIB to netcdf.
> > > I have downloaded the avn*cdl files and tried with the 1x1deg global avn
> in GRIB format using the cdl you provide in order  to turn it to ncdf but i
> am getting a segmentation fault
> > > I run in LINUX and downloaded the binaries from your site.
> > > I would appreciate if you could help me on this.
> > > On the other hand i am looking for a *cdl for european domain avn
> 1.25x1.25 files
> > > do you know who could help me on this?
> > >
> > > Thank you in advance
> > > Vasso
> > >
> > > PS i tested gridump with my GRIB file and it worked
> > >     i also tested to run gribtocdl but the output was getting extremely
> big and so i stopped the job. The header was good
> > >     but in the lon, lat section it was writting out big numbers expect
> from the first number
> > >
> > >
> >
> > --------------------------------------------------------------------------
> ----------
> > > Dr. Vassiliki KOTRONI
> > > Institute of Environmental Research
> > > National Observatory of Athens
> > > Lofos Koufou, P. Pendeli, GR-15236
> > > Athens, Greece
> > > Tel: +30 2 10  8109126
> > > Fax: +30 2 10 8103236
> > > Daily weather forecasts at: www.noa.gr/forecast
> > >
> > >
> >
> >
> ============================================================================
> ===
> > Robb Kambic           Unidata Program Center
> > Software Engineer III    Univ. Corp for Atmospheric Research
> > address@hidden    WWW: http://www.unidata.ucar.edu/
> >
> ============================================================================
> ===
> >
> >
>

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