Changeset 2183 in lmdz_wrf


Ignore:
Timestamp:
Oct 12, 2018, 7:54:25 PM (7 years ago)
Author:
lfita
Message:

Fixing `topography_shadow'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r2182 r2183  
    1383413834      lonvn: name of the variable with the longitudes
    1383513835      latvn: name of the variable with the latitudes
    13836       mapfmt: [cbarmap]|[mapkind]|[lonlatbox] values for the map
     13836      mapfmtS: [cbarmap]|[mapkind]|[lonlatbox] values for the map
    1383713837        cbarmap: name of the colorbar for the map
    1383813838        mapkind: kind of map to use in the plot
     
    1384713847
    1384813848    # topography
    13849     if not os.paths.isfile(geogf):
     13849    if not os.path.isfile(geogf):
    1385013850       print errormsg
    1385113851       print '  ' + fname + ": topography file '" + geogf + "' does not exist !!"
     
    1389713897    dy = valsmap.shape[0]
    1389813898
    13899     mapfmt = mapfmtS.split
     13899    mapfmt = mapfmtS.split('|')
    1390013900
    1390113901    mapkind = mapfmt[1]
Note: See TracChangeset for help on using the changeset viewer.