units conversion [message #23955] |
Tue, 27 February 2001 19:30  |
Jason Li
Messages: 7 Registered: April 1999
|
Junior Member |
|
|
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
|
|
|
Re: units conversion [message #24013 is a reply to message #23955] |
Thu, 01 March 2001 06:39  |
Paul van Delst
Messages: 364 Registered: March 1997
|
Senior Member |
|
|
Craig Markwardt wrote:
>
> Jason Li <jylimd@yahoo.com> writes:
>> 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
>>
>
> I'm still wondering: what's the big deal? If you need three
> conversions, then you can probably figure the scale factors once for
> all three and just put them in your code. [ It must be harder than
> this. ]
It is a big deal and it is harder than that. Units conversion, particularly for the
numerous and arcane ones used in various meteorological and atmospheric spectroscopic
fields, is a lot more trickier than people think. Particularly when integrated quantities
are involved and interpolations must be performed etc.
> In fact, given that that this was cross-posted to
> meteorology, is it even related to IDL at all?
Maybe he reads the MODTRAN output in IDL for plotting the results.
paulv
--
Paul van Delst A little learning is a dangerous thing;
CIMSS @ NOAA/NCEP Drink deep, or taste not the Pierian spring;
Ph: (301)763-8000 x7274 There shallow draughts intoxicate the brain,
Fax:(301)763-8545 And drinking largely sobers us again.
pvandelst@ncep.noaa.gov Alexander Pope.
|
|
|
Re: units conversion [message #24021 is a reply to message #23955] |
Wed, 28 February 2001 17:33  |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
Jason Li <jylimd@yahoo.com> writes:
> 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
>
I'm still wondering: what's the big deal? If you need three
conversions, then you can probably figure the scale factors once for
all three and just put them in your code. [ It must be harder than
this. ] In fact, given that that this was cross-posted to
meteorology, is it even related to IDL at all?
Craig
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|
|