Changeset 854 for trunk/UTIL/NCL


Ignore:
Timestamp:
Nov 27, 2012, 6:50:04 PM (12 years ago)
Author:
slebonnois
Message:

SL: correction d'un bug pour Titan (zlsm1) + quelques petits ajustements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/NCL/visu-utils.ncl

    r808 r854  
    645645prepared = "dummy"    ; DEFAULT
    646646
     647if (labelvar.eq."ustar") then
     648  if (isfilevar(infile,"vitu")) then
     649    u = infile->vitu
     650  else
     651    u = infile->U
     652  end if
     653  myvar = dim_rmvmean_n_Wrap(u,3)
     654  myvar@long_name="Deviation from zonal-mean zonal wind"
     655  prepared = labelvar
     656end if
     657
     658if (labelvar.eq."uprime") then
     659  if (isfilevar(infile,"vitu")) then
     660    u = infile->vitu
     661  else
     662    u = infile->U
     663  end if
     664  myvar = dim_rmvmean_n_Wrap(u,0)
     665  myvar@long_name="Deviation from time-mean zonal wind"
     666  prepared = labelvar
     667end if
     668
    647669if (labelvar.eq."dTdyn") then
    648670  if (isfilevar(infile,"vitu")) then
Note: See TracChangeset for help on using the changeset viewer.