Changeset 4195 for TOOLS/MOSAIX/RunoffWeights.py
- Timestamp:
- 12/14/18 10:55:21 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/MOSAIX/RunoffWeights.py
r4188 r4195 3 3 ### 4 4 ### Compute runoff weights. 5 ### For LMDZ only. Not suitable for DYNAMICO6 5 ### 7 6 ### =========================================================================== … … 98 97 if atm_Name.find('LMD') >= 0 : atm_n = 'lmd' ; atmDomainType = 'rectilinear' 99 98 if atm_Name.find('ICO') >= 0 : atm_n = 'ico' ; atmDomainType = 'unstructured' 99 if oce_Name.find('ORC') >= 0 : oce_n = 'orc' ; oceDomainType = 'curvilinear' 100 100 101 101 print ('atmQuantity : ' + str (myargs.atmQuantity) ) … … 152 152 oce_grid_imask = oce_grid_imask2D.ravel() 153 153 ## 154 print ("De termination d'une bande cotiere ocean")154 print ("Defines a coastal bands (on ocean) in the ocean") 155 155 156 156 oceLand2D = np.reshape ( np.where (oce_grid_pmask[:] < 0.5, True, False), (oce_jpj, oce_jpi) ) … … 179 179 oceCoast_address = oce_address [oceCoast] 180 180 181 print ("De termination d'une bande cotiere atmosphere" )181 print ("Defines a coastal bands (on land) in the atmosphere" ) 182 182 atmLand = np.where (o2aFrac[:] < epsfrac , True, False) 183 183 atmLandFrac = np.where (o2aFrac[:] < zone-epsfrac , True, False)
Note: See TracChangeset
for help on using the changeset viewer.