Ignore:
Timestamp:
08/11/11 17:29:34 (13 years ago)
Author:
pinsard
Message:

progress on humidity processing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/interp_erai_msl_1989_2009.pro

    r76 r80  
    7373; ==== 
    7474; 
    75 ; no input file available 
    76 ; 
    77 ; hard coded scale factor ? mslin=mslin/100 
    78 ; 
    7975; msl_attr={units:'milibars' .. millibar at least, hPa will be probably 
    8076; more SI 
     
    8278; why 19880101,20100930 as dates 
    8379; 
     80; first step time 14245.5 (days since 1950-01-01 00:00:00) : correct ? 
     81; 
    8482; KNOWN ISSUES 
    8583; ============ 
     
    9492; 
    9593; $URL$ 
     94; 
     95; - fplod 20110811T113646Z aedon.locean-ipsl.upmc.fr (Darwin) 
     96; 
     97;   * check for units in original file before conversion 
    9698; 
    9799; - fplod 20110809T145539Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    217219print, 'lon grid ',min(lonout),max(lonout),lonout(1)-lonout(0) 
    218220mskout=read_ncdf("msk", file=fullfilename_msk,/nostr) 
    219 mslin=mslin/100 
     221 
     222; conversion to hPa 
     223ncdf_getatt, fullfilename, 'msl', units=units 
     224CASE units OF 
     225    'Pascal': BEGIN 
     226        mslin=mslin/100 
     227    END 
     228    ELSE: BEGIN 
     229        msg = 'eee : ' + units + ' unknown' 
     230        ras = report(msg) 
     231        STOP 
     232    END 
     233ENDCASE 
    220234 
    221235help, mslin,lonin,latin,mskin,lonout,latout,mskout 
Note: See TracChangeset for help on using the changeset viewer.