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

Re: units conversion



Jason Li wrote:
> 
> Hi,
> 
> MODTRAN package outputs atmospheric profile in tape 6. The physical unit
> used for the gas concentration is in ATM CM/KM.  I want to convert it to any
> one of the following units:
> 
> g/Kg
> ppmv,
> g/m3
> 
> Help please and thanks in advance
> 
> jli@wam.umd.edu

Try the udunits package - where to find? I think it comes with netcdf
(www.ucar.edu/...). And if I remember correctly, someone even wrote an
IDL interface for it. Alternatively, you can take a look at my convert
program at
http://www.mpimet.mpg.de/~schultz.martin/idl/html/src/martin_schultz/convert_unit.pro

Cheers,

Martin

-- 
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[ Dr. Martin Schultz   Max-Planck-Institut fuer Meteorologie    [[
[[                      Bundesstr. 55, 20146 Hamburg             [[
[[                      phone: +49 40 41173-308                  [[
[[                      fax:   +49 40 41173-298                  [[
[[ martin.schultz@dkrz.de                                        [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[