how to use api2arl program?

Post questions and find resources to convert meteorological data into a format HYSPLIT can read.
Post Reply
tak
Posts: 1
Joined: December 27th, 2012, 11:11 am
Registered HYSPLIT User: No

how to use api2arl program?

Post by tak »

Dear all,
I want to use grib2 file to run HYSPLIT. First, I use api2arl program to convert grib2 file. However, I cannot convert it.
Is it necessary to download Jasper?
Does anyone tell me how to convert grib2 file? Thanks in advance!
roland.draxler
Posts: 14
Joined: November 8th, 2012, 3:41 pm
Registered HYSPLIT User: Yes

Re: how to use api2arl program?

Post by roland.draxler »

The only required package for a standard installation is jasper which enables
the jpeg2000 packing/unpacking algorithm. It is possible to build grib_api
without jasper, by using the –disable-jpeg configure option, but to install
a fully functional library, its download is recommended.

1.2.1 Standard installation

1. Download grib_api from
http://www.ecmwf.int/products/data/soft ... b_api.html

2. Unpack distribution:
> gunzip grib_api-X.X.X.tar.gz
> tar xf grib_api-X.X.X.tar

3. Create the directory where to install grib_api say grib_api_dir
> mkdir grib_api_dir

4. Run the configure in the grib_api-X.X.X
> cd grib_api-X.X.X
> ./configure --prefix=grib_api_dir

5. make, check and install
> make
...
> make check
...
> make install
...
Post Reply

Return to “Conversion programs”