Ignore:
Timestamp:
Jun 16, 2015, 7:01:30 PM (9 years ago)
Author:
slebonnois
Message:

SL: corrections in Titan and Venus tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/Tools/io.F90

    r816 r1454  
    218218!===========================================================================
    219219
    220 subroutine get_var4d(infid,dim1,dim2,dim3,dim4,text,var,ierr1,ierr2)
     220subroutine get_var4d(infid,dim1,dim2,dim3,dim4,text,var,missing,ierr1,ierr2)
    221221
    222222implicit none
     
    229229character (len=64) :: text ! name of variable to read
    230230real,dimension(dim1,dim2,dim3,dim4) :: var ! variable to read
    231 integer :: ierr1,ierr2 ! NetCDF routines return code
     231real :: missing ! missing value
     232integer :: ierr1,ierr2,miss ! NetCDF routines return code
    232233
    233234! local
     
    240241  write(*,*) "ID ok for ",trim(text)
    241242  ierr2=NF_GET_VAR_REAL(infid,tmpvarid,var)
     243  miss=NF_GET_ATT_REAL(infid,tmpvarid,"missing_value",missing)
    242244endif
    243245
Note: See TracChangeset for help on using the changeset viewer.