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

Home » Public Forums » archive » IDL routines for Rayleigh optical depth/US Standard Atmospheres?
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
IDL routines for Rayleigh optical depth/US Standard Atmospheres? [message #85331] Thu, 25 July 2013 06:59 Go to next message
Andy Sayer is currently offline  Andy Sayer
Messages: 127
Registered: February 2009
Senior Member
Hi all,

Before I start to code up my own, I was wondering whether anyone had an IDL routine to calculate atmospheric Rayleigh optical depth? Ideally I'm looking for an implementation of the Bodhaine et al (1999) Rayleigh formulae: http://journals.ametsoc.org/doi/full/10.1175/1520-0426(1999)016%3C1854%3AORODC%3E2.0.CO%3B2

On a related note, does anyone have a routine which returns properties (i.e. p/T/z/gas) for the US Standard Atmospheres?

Neither should be particularly difficult, I just thought that as these are fairly well-used things (although a Google search didn't pull anything up) I might be able to save myself from reinventing the wheel. :)

Thanks,

Andy
Re: IDL routines for Rayleigh optical depth/US Standard Atmospheres? [message #85485 is a reply to message #85331] Mon, 12 August 2013 17:55 Go to previous messageGo to next message
BillG is currently offline  BillG
Messages: 6
Registered: March 2007
Junior Member
On Thursday, July 25, 2013 7:59:59 AM UTC-6, AMS wrote:
> Hi all,
>
>
>
> Before I start to code up my own, I was wondering whether anyone had an IDL routine to calculate atmospheric Rayleigh optical depth? Ideally I'm looking for an implementation of the Bodhaine et al (1999) Rayleigh formulae: http://journals.ametsoc.org/doi/full/10.1175/1520-0426(1999)016%3C1854%3AORODC%3E2.0.CO%3B2
>
>
>
> On a related note, does anyone have a routine which returns properties (i.e. p/T/z/gas) for the US Standard Atmospheres?
>
>
>
> Neither should be particularly difficult, I just thought that as these are fairly well-used things (although a Google search didn't pull anything up) I might be able to save myself from reinventing the wheel. :)
>
>
>
> Thanks,
>
>
>
> Andy

Andy,

The US Standard Atmosphere plus reference atmospheres--Tropical, Mid-latitude Summer, Mid-latitude Winter, Arctic Summer and Arctic Winter--are available in digital form (Fortran Block Data Statements, sorry) as part of the lblrtm package: http://rtweb.aer.com/lblrtm_frame.html. They are in the routine lblatm.f90. The file contains pressure and temperature as a function of altitude plus profiles of most atmospheric gases. This stuff is ancient (~1970-80's).

You can also find these profiles and more in the "Handbook of Geophysics and
Space Environment 1985". The site:
http://www.cnofs.org/Handbook_of_Geophysics_1985/pdf_menu.ht m
has the Handbook in digitized format but you have to cut and paste and reformat to get it into idl. Look in Chapter 14 Standard and Reference Atmospheres

Hope this helps.

Bill Gallery
Re: IDL routines for Rayleigh optical depth/US Standard Atmospheres? [message #85489 is a reply to message #85331] Tue, 13 August 2013 06:05 Go to previous messageGo to next message
Andy Sayer is currently offline  Andy Sayer
Messages: 127
Registered: February 2009
Senior Member
Thanks, Bill. Yes, I've seen that but had hoped someone may have IDL'd (is that a word?) it up. Although old, they're still what's used in our community.

In case anyone else had been curious, I did code up the Bodhaine Rayleigh calculations in the end but need to work a little more on it.

Andy

On Thursday, July 25, 2013 9:59:59 AM UTC-4, AMS wrote:
> Hi all,
>
>
>
> Before I start to code up my own, I was wondering whether anyone had an IDL routine to calculate atmospheric Rayleigh optical depth? Ideally I'm looking for an implementation of the Bodhaine et al (1999) Rayleigh formulae: http://journals.ametsoc.org/doi/full/10.1175/1520-0426(1999)016%3C1854%3AORODC%3E2.0.CO%3B2
>
>
>
> On a related note, does anyone have a routine which returns properties (i.e. p/T/z/gas) for the US Standard Atmospheres?
>
>
>
> Neither should be particularly difficult, I just thought that as these are fairly well-used things (although a Google search didn't pull anything up) I might be able to save myself from reinventing the wheel. :)
>
>
>
> Thanks,
>
>
>
> Andy
Re: IDL routines for Rayleigh optical depth/US Standard Atmospheres? [message #85518 is a reply to message #85331] Wed, 14 August 2013 12:18 Go to previous messageGo to next message
Matteo is currently offline  Matteo
Messages: 28
Registered: August 2011
Junior Member
Hi Andy,

I have a bunch of (poorly written?) routines I had written a while ago that could be of use. They are for plotting p/T for the standard atmospheres. Feel free to send me your contact so I can send you more details and the zipped directory.

Cheers,
matteo
Re: IDL routines for Rayleigh optical depth/US Standard Atmospheres? [message #85537 is a reply to message #85518] Thu, 15 August 2013 06:35 Go to previous messageGo to next message
Andy Sayer is currently offline  Andy Sayer
Messages: 127
Registered: February 2009
Senior Member
Thanks, email inbound. :)

On Wednesday, August 14, 2013 3:18:40 PM UTC-4, Matteo wrote:
> Hi Andy,
>
>
>
> I have a bunch of (poorly written?) routines I had written a while ago that could be of use. They are for plotting p/T for the standard atmospheres. Feel free to send me your contact so I can send you more details and the zipped directory.
>
>
>
> Cheers,
>
> matteo
Re: IDL routines for Rayleigh optical depth/US Standard Atmospheres? [message #85538 is a reply to message #85537] Thu, 15 August 2013 06:40 Go to previous messageGo to next message
Andy Sayer is currently offline  Andy Sayer
Messages: 127
Registered: February 2009
Senior Member
Hi again Matteo,

Afraid I can't see a way to send you a message privately/find your email address. Do you know if there is one? (For spambot crawler purposes I'd rather not have our email addresses out publicly.)

Thanks,

Andy

On Thursday, August 15, 2013 9:35:44 AM UTC-4, AMS wrote:
> Thanks, email inbound. :)
>
>
>
> On Wednesday, August 14, 2013 3:18:40 PM UTC-4, Matteo wrote:
>
>> Hi Andy,
>
>>
>
>>
>
>>
>
>> I have a bunch of (poorly written?) routines I had written a while ago that could be of use. They are for plotting p/T for the standard atmospheres. Feel free to send me your contact so I can send you more details and the zipped directory.
>
>>
>
>>
>
>>
>
>> Cheers,
>
>>
>
>> matteo
Re: IDL routines for Rayleigh optical depth/US Standard Atmospheres? [message #85555 is a reply to message #85538] Thu, 15 August 2013 14:23 Go to previous messageGo to next message
Matteo is currently offline  Matteo
Messages: 28
Registered: August 2011
Junior Member
You could always try and find me in the directory of the GISS website....It's G like Goddard ;-)
Re: IDL routines for Rayleigh optical depth/US Standard Atmospheres? [message #85561 is a reply to message #85555] Fri, 16 August 2013 06:09 Go to previous message
Andy Sayer is currently offline  Andy Sayer
Messages: 127
Registered: February 2009
Senior Member
Heh... it looks like you may have found my name although I can't see how to pull out yours from the Google Groups interface. But there's only one Matteo I can see at GISS so email inbound. :)

Andy

On Thursday, August 15, 2013 5:23:06 PM UTC-4, Matteo wrote:
> You could always try and find me in the directory of the GISS website....It's G like Goddard ;-)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 'Reading' a file from binary data?
Next Topic: Spatial and temporal image correlation

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

Current Time: Wed Oct 08 13:53:12 PDT 2025

Total time taken to generate the page: 0.00530 seconds