Changeset 1528 for palm/trunk


Ignore:
Timestamp:
Jan 22, 2015 2:25:16 PM (9 years ago)
Author:
hoffmann
Message:

bugfix: palmplot pr can now handle *pr.nc files consisting exclusively of user profiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/NCL/profiles.ncl

    r1248 r1528  
    12041204          end do
    12051205
     1206      end if
     1207;
     1208;--   Since no other z-variables have been found, a z-variable has been derived
     1209;--   from the user profiles
     1210      if (.not. isvar("z_u") .AND. .not. isvar ("z_w")) then
     1211         do varn=0,dim-2 
     1212            if( isStrSubset( vNam(varn+1), vNam(varn)) ) then
     1213               z_u = f_att->$vNam(varn+1)$
     1214               break
     1215            end if
     1216         end do
    12061217      end if
    12071218
Note: See TracChangeset for help on using the changeset viewer.