comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » units conversion
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
units conversion [message #23955] Tue, 27 February 2001 19:30 Go to next message
Jason Li is currently offline  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 Go to previous message
Paul van Delst is currently offline  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 Go to previous message
Craig Markwardt is currently offline  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
------------------------------------------------------------ --------------
Re: units conversion [message #24024 is a reply to message #23955] Wed, 28 February 2001 16:03 Go to previous message
jeyadev is currently offline  jeyadev
Messages: 78
Registered: February 1995
Member
In article <B6C1DAE9.46C8%jylimd@yahoo.com>,
Jason Li <jylimd@yahoo.com> 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

What are CM and KM? Centimetres and kilo-mole?

--

Surendar Jeyadev jeyadev@wrc.xerox.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: imaging Complex numbers
Next Topic: MPEG and IDL 5.4

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:02:24 PDT 2025

Total time taken to generate the page: 0.41911 seconds