New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 4004 for branches/2013/dev_r3918_CNRS_idl_plots/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_ts_AMOC.pro – NEMO

Ignore:
Timestamp:
2013-08-07T16:32:18+02:00 (11 years ago)
Author:
flavoni
Message:

correct script for ts AMOC, in IDL scripts, see ticket #1115

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3918_CNRS_idl_plots/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_ts_AMOC.pro

    r4000 r4004  
    1717  trans = strlowcase(var_name) EQ 'vomeeftr' 
    1818 
     19  ; ADD definition of mask_atl_nomed to compute AMOC (with no Mediterranean Sea) 
     20  msk_atl_nomed = read_ncdf( 'atlmsk_nomed', filename = std_file_msksub, /nostruct, _extra = ex ) 
    1921  FOR i = 0, nfiles-1 DO BEGIN 
    2022    var = read_ncdf(var_name, allrecords = allrec, filename = list[i], /nostruct) 
     
    2224; 
    2325    FOR t = 0, jpt-1 DO BEGIN 
     26      msfatl = msf(var[*, *, *, t], msk_atl_nomed, TRANSPORT = trans, /nostruct, indexboxzoom = ind) 
    2427      msftot = msf(var[*, *, *, t], TRANSPORT = trans, /nostruct, indexboxzoom = ind) 
    2528      yaxis = gphit[ind[0], ind[2]:ind[3]] 
     
    2831      indy = where(yaxis gt 40 and yaxis le 50) 
    2932      domdef, 0, 3500 
    30       t45 = [t45, max(msftot[indy, firstzw:lastzw], /NaN)] 
     33      ;SF commented because we've to compute msftot starting from msf atlantic; i.e. without mediterranean sea. 
     34      ;SF t45 = [t45, max(msftot[indy, firstzw:lastzw], /NaN)] 
     35      t45 = [t45, max(msfatl[indy, firstzw:lastzw], /NaN)] 
    3136       
    3237; computation of max atlantic Antarctic Bottom Water between 80°S and 65°S 
     
    7984 
    8085; compute the MSF 
    81  
     86 
    8287  std_ts_read_AMOC, vV1, date1, date2, prefix, suffix, t45, t70, t50 
    8388  if prefix NE prefix2 then begin 
     
    115120  if KEYWORD_SET(postscript) then openps, filename+'_3.ps', portrait = 1 
    116121 
    117   title = prefix+' '+d1_d2+'!C'+'Max AntArctic Bottom Cell between 65S and 30N '+d1_d2 
     122  title = prefix+' '+d1_d2+'!C '+'Max AntArctic Bottom Cell between 65S and 30N '+d1_d2 
    118123  pltt, -t50, 't', 5., 30., date1, date2, /REMPLI, /PORTRAIT, window = 3 $ 
    119124        ,  small = [1, 2, 1],  TITLE = title, YTITLE = varunit, _extra = ex 
Note: See TracChangeset for help on using the changeset viewer.