IDL routines for Rayleigh optical depth/US Standard Atmospheres? [message #85331] |
Thu, 25 July 2013 06:59  |
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   |
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   |
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 #85538 is a reply to message #85537] |
Thu, 15 August 2013 06:40   |
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 #85561 is a reply to message #85555] |
Fri, 16 August 2013 06:09  |
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 ;-)
|
|
|