Re: units conversion [message #23938] |
Wed, 28 February 2001 07:53 |
Liam E. Gumley
Messages: 378 Registered: January 2000
|
Senior Member |
|
|
Jason Li wrote:
> 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
Jason,
I'd ask Paul van Delst:
mailto:pvandelst@ncep.noaa.gov
Cheers,
Liam.
|
|
|
Re: units conversion [message #23941 is a reply to message #23938] |
Wed, 28 February 2001 05:10  |
Alex Schuster
Messages: 124 Registered: February 1997
|
Senior Member |
|
|
Martin Schultz wrote:
> 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.
Yes, Davie Pierce did, the package is called udunits-idl_0.2.tar. I
didn't get it to work, however, it keeps telling me the package has not
been initialized :( Don't know what I am doing wrong here, I just use
the sampe program testit.pro that comes with the package. I had
contacted the author, but got no answer.
Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
|
|
|
Re: units conversion [message #23946 is a reply to message #23941] |
Wed, 28 February 2001 00:54  |
Martin Schultz
Messages: 515 Registered: August 1997
|
Senior Member |
|
|
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 [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
|
|
|