Changeset 1560


Ignore:
Timestamp:
May 12, 2016, 2:39:23 PM (9 years ago)
Author:
emillour
Message:

Mars GCM:

  • Fix in wstats: use "def_var_stats" and not "def_var" (intended for writediagfi) or else outputs are always single precision.

EM

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r1550 r1560  
    22932293- Bug fix in testphys1d, enforce iphysiq=1 after conf_phys (where its
    22942294  value might be modified).
     2295
     2296== 12/05/2016 == EM
     2297- Fix in wstats: use "def_var_stats" and not "def_var" (intended for
     2298  writediagfi) or else outputs are always single precision.
     2299
  • trunk/LMDZ.MARS/libf/phymars/wstats.F90

    r1532 r1560  
    173173   write (*,*) "STATS: creation de ",nom
    174174   namebis=trim(nom)
    175    call def_var(nid,namebis,titre,unite,nbdim,id,meanid,ierr)
     175   call def_var_stats(nid,namebis,titre,unite,nbdim,id,meanid,ierr)
    176176   if (dim.eq.3) then
    177177     call inivar(nid,meanid,size(px3_glop,1),dim,indx,px3_glop,ierr)
     
    180180   endif
    181181   namebis=trim(nom)//"_sd"
    182    call def_var(nid,namebis,trim(titre)//" total standard deviation over the season",unite,nbdim,id,sdid,ierr)
     182   call def_var_stats(nid,namebis,trim(titre)//" total standard deviation over the season",unite,nbdim,id,sdid,ierr)
    183183   if (dim.eq.3) then
    184184     call inivar(nid,sdid,size(px3_glop,1),dim,indx,px3_glop,ierr)
Note: See TracChangeset for help on using the changeset viewer.