Documentation for /Users/balarsen/Documents/idl/larsen/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

./

msu_weather.pro

topmsu_weather

result = msu_weather(month, year)

get weather station data from the Shaw lab weather station at MSU http://www.coe.montana.edu/ee/weather and parse it into a structure for analysis

- extremely limited error checking so be careful - at some point the station added com calulated fields of num_den and such use for times after that - requires sswidl (solarsoft)

Return value

structure array with n_elements = number of measurements and tags: DATE STRING '01/01/2007' TIME STRING '00:05' ADJ_PRESS_MB FLOAT 1021.00 ADJ_PRESS_INHG FLOAT 30.1501 ABS_PRESS_MB FLOAT 850.000 ABS_PRESS_INHG FLOAT 25.1005 TEMP_C FLOAT -7.42000 TEMP_F FLOAT 18.6440 REL_HUM FLOAT 81.7000 DEWPOINT_C FLOAT -10.0287 DEWPOINT_F FLOAT 13.9483 PART_PRESS_ATM FLOAT 0.00282139 NUM_DEN DOUBLE 7.7945600e+16 MASS_DEN FLOAT 2.58869 JD DOUBLE 2453916.5 where jd is julian day

Parameters

month in required

1-12 month of the year

year in required

year to get data

Examples

IDL> ans = msu_weather(1, 2007) IDL> help, ans ANS STRUCT = -> Array[8928] IDL> help, ans, /str ** Structure <865adcc>, 15 tags, length=84, data length=84, refs=1: DATE STRING '01/01/2007' TIME STRING '00:05' ADJ_PRESS_MB FLOAT 1021.00 ADJ_PRESS_INHG FLOAT 30.1501 ABS_PRESS_MB FLOAT 850.000 ABS_PRESS_INHG FLOAT 25.1005 TEMP_C FLOAT -7.42000 TEMP_F FLOAT 18.6440 REL_HUM FLOAT 81.7000 DEWPOINT_C FLOAT -10.0287 DEWPOINT_F FLOAT 13.9483 PART_PRESS_ATM FLOAT 0.00282139 NUM_DEN DOUBLE 7.7945600e+16 MASS_DEN FLOAT 2.58869 JD DOUBLE 2453916.5

Author information

History:

Fri Feb 23 09:46:03 2007, Brian Larsen written and tested

Statistics

Lines: 58
McCabe complexity:

File attributes

Modifcation date: Tue Sep 9 14:19:25 2008
Lines: 131
Disclaimer