[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[McIDAS #LYX-268396]: converting .grb to McIDAS grids
- Subject: [McIDAS #LYX-268396]: converting .grb to McIDAS grids
- Date: Wed, 30 Jul 2008 18:20:36 -0600
Hi Darren,
re:
> Thanks for the assistance. I actually found another way to convert from .grb
> to .grd
> other than the gribdec routine you mentioned: I used "DSSERVE LOCAL/_ GRIB
> TYPE=GRID
> DIRFILE='_.grb' ", which worked well.
OK.
> Now, I'd like to know if there's a way to convert from McIDAS GRID back to
> .grb. This
> would save me a lot of work. It's a long explanation, but basically I need to
> contour
> snowfall data in GEMPAK. I already have the code written to convert the
> snowfall data to
> point data in McIDAS (which was a lot of work that I don't want to repeat for
> GEMPAK), from
> which I can write the data to a grid, which I then need to change to .grb to
> eventually plot
> in GEMPAK (all of this is because I like the contouring capabilities of
> GEMPAK over McIDAS).
> Anyways, if there's a way to go from GRID to .grb let me know. Thanks
There is no routine in McIDAS that will convert a field stored in a GRID file
back into
a GRIB message.
What you may be able to do if your grid is small enough is to dump the grid
values out in
an ASCII format and then use them as point data in GEMPAK. I have never done
anything like
this since I am not GEMPAK users, but it would seem that it is not out of the
question that
it would be possible.
The other possibility is to turn the gridded field into an image in McIDAS AREA
format
(GRDIMG) and then use the image in GEMPAK. The Unidata distribution of GEMPAK
has a pair
of programs that can turn images into grids (img2gd) and grids into images
(gd2img). Steve
Chiswell wrote these so that sites could use the grid capabilities of GEMPAK to
manipulate
imagery.
Cheers,
Tom
****************************************************************************
Unidata User Support UCAR Unidata Program
(303) 497-8642 P.O. Box 3000
address@hidden Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage http://www.unidata.ucar.edu
****************************************************************************
Ticket Details
===================
Ticket ID: LYX-268396
Department: Support McIDAS
Priority: Normal
Status: Closed