cnvgrib gribmaster and other issues with converting grib2 to 1

Krishna Santhanam ksanthanam at PRECISIONWIND.COM
Tue Jul 21 19:21:11 EDT 2009


Hi all,
I am trying to use cnvgrib to convert grib2 to grib1 format.  I am having
several issues.

1) I tried compiling cnvgrib new version from
http://www.nco.ncep.noaa.gov/pmb/codegs/GRIB2/, which gives me error.

"gfortran  -o cnvgrib gds2gdt.o pds2pdt.o pds2pdtens.o cnvgrib.o cnv12.o
cnv22.o cnv21.o gdt2gds.o makepds.o putgbexn.o makepdsens.o setbit.o
-L/usr/lib64/g2lib-1.1.9 -lg2 -L/usr/lib64/w3lib-1.7 -lw3
-L/usr/lib64/jasper-1.900.1/src/libjasper/.libs -ljasper -lpng -lz
/usr/bin/ld: skipping incompatible /usr/lib64/g2lib-1.1.9/libg2.a when
searching for -lg2
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../lib64/libg2.a when
searching for -lg2
/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libg2.a when searching
for -lg2
/usr/bin/ld: skipping incompatible /usr/lib64/libg2.a when searching for
-lg2
/usr/bin/ld: skipping incompatible /usr/lib64/libg2.a when searching for
-lg2
/usr/bin/ld: cannot find -lg2
collect2: ld returned 1 exit status
make: *** [cnvgrib] Error 1"

I even tried moving to old libg2.a which doesn't work and gives segmentation
fault.

So I used gribmaster which is a executable that could be used for converting
grib2 to 1

2)But the problem is when i am executing it writes


"cnvgrib -g21 nam.t00z.awip3200.01.grib2 nam.t00z.awip3200.01.grib
 param_g2_to_g1:GRIB2 param            10            3            0  not
found.
 param_g2_to_g1:GRIB2 param             0            3          200  not
found.
FORTRAN STOP"

I could able to write control files and display it but I am wondering if I
use the grib1 format as a input into some model will it pose any problem.
Does any one have any idea what the error means ( any parameter not written
or misrepresented).

Would appreciate any help.
Thanks,
Krishna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090721/82b21156/attachment.html 


More information about the gradsusr mailing list