I've just announced my NetCDF tools 0.1-rc1 package [1], and
        wonder, is there anyone interested in having it in Debian?

        In the nutshell, the package basically provides a somewhat
        sophisticated wrapper around the ncvarget () and ncattget ()
        functions (provided both by NetCDF and by the HDF4 compatibility
        layer), which may be used, in particular, in Shell scripts.

        The versions of the `ncget' tool have found occasional uses
        here, at Altai State University, during the last three years,
        and proved to be quite usable, despite having a few bugs and
        misfeatures.

        TIA.

* Examples

        In particular, this package could be used to visualize MODIS L3
        (HDF-EOS ``Grid'' structure) data (thanks to the NetPBM and
        ImageMagick packages), like (Bash syntax used):

$ rgb3toppm <(ncget-hdf --raw \
                  MCD43B4.A2009153.h22v03.005.2009181051526.hdf \
                  Nadir_Reflectance_Band{1,4,3} \
                  | rawtopgm -bpp 2 -littleendian \
                        -maxval 15999 1200 1200) \
      | convert -gamma 1.6 ppm:- ppm:- \
      | display ppm:- 

        In this example, the Nadir_Reflectance_Band1, ...4 and ...3
        ``variables'' (i. e., arrays) of the HDF4 file were fetched and
        then converted to the PGM image format.  Then, the gamma
        correction was applied and the resulting image is shown on an X
        display.

* Download

http://theory.asu.ru/~ivan/src/netcdf-tools-0.1-rc1.tar.gz
http://waterlily.siamics.net/~ivan/src/netcdf-tools-0.1-rc1.tar.gz
http://waterlily.siamics.net/~ivan/archives/git/nctools.git/
http://waterlily.siamics.net/~ivan/archives/git/gitweb.cgi?p=nctools.git

        The file used in the example above is available from NASA:

ftp://e4ftl01u.ecs.nasa.gov/MODIS_Composites/MOTA/MCD43B4.005/2009.06.02/MCD43B4.A2009153.h22v03.005.2009181051526.hdf

* References

[1] news:[email protected]

-- 
FSF associate member #7257

Attachment: pgpT4sM7QM5Qz.pgp
Description: PGP signature

Reply via email to