Changeset 2556


Ignore:
Timestamp:
2011-01-14T13:02:45+01:00 (10 years ago)
Author:
flavoni
Message:

update ts_mean_SSH.pro, see ticket #724

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/ts_mean_SSH.pro

    r2537 r2556  
    1414  ts_SSH2 = 0. 
    1515  ts_Time = 0. 
     16 
     17  masknp = read_ncdf('tmaskutil', file = 'mesh_mask_partial.nc', /nostruct) 
    1618   
    1719  for year=year1,year2 do begin 
     
    2527     SSH2 = read_ncdf('zos',date1 ,date2 , filename = filename2, /nostruct) 
    2628 
    27      ts_SSH = [ ts_SSH, moyenne(SSH, 'xy')] 
    28      ts_SSH2 = [ ts_SSH2, moyenne(SSH2, 'xy')] 
     29     ts_SSH = [ ts_SSH, moyenne(SSH, 'xy', mask2d = masknp)] 
     30     ts_SSH2 = [ ts_SSH2, moyenne(SSH2, 'xy', mask2d = masknp)] 
    2931     ts_Time = [ ts_Time, Time] ; Time = date 
    3032      
Note: See TracChangeset for help on using the changeset viewer.