Changeset 177


Ignore:
Timestamp:
12/13/13 18:18:37 (11 years ago)
Author:
mtort
Message:

Fixed missing apbp.nc with Lagrangian vertical coordinate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/disvert.f90

    r166 r177  
    170170    INTEGER :: l 
    171171     
    172     IF(ap_bp_present) THEN 
     172    
    173173    status = NF90_CREATE('apbp.nc', NF90_CLOBBER, ncid) 
    174174    status = NF90_DEF_DIM(ncid,'lev',llm,lev) 
     
    204204 
    205205    status = NF90_ENDDEF(ncid)    
    206      
     206 
     207  IF(ap_bp_present) THEN 
    207208    status=NF90_PUT_VAR(ncid,ilevid, ap(:)+bp(:)*Preff) 
    208209     
     
    227228  
    228229    status=NF90_PUT_VAR(ncid,P0id, Preff) 
     230 
     231  END IF 
    229232    
    230233    status=NF90_CLOSE(ncid) 
    231   END IF 
     234 
    232235  END SUBROUTINE write_apbp 
    233236 
Note: See TracChangeset for help on using the changeset viewer.