Changeset 6190 for TOOLS/MOSAIX/CalvingWeights.py
- Timestamp:
- 07/06/22 11:06:07 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/MOSAIX/CalvingWeights.py
r6105 r6190 5 5 ### =========================================================================== 6 6 ## 7 ## Warning, to install, configure, run, use any of Olivier Marti's 8 ## software or to read the associated documentation you'll need at least 9 ## one (1) brain in a reasonably working order. Lack of this implement 10 ## will void any warranties (either express or implied). 11 ## O. Marti assumes no responsability for errors, omissions, 12 ## data loss, or any other consequences caused directly or indirectly by 13 ## the usage of his software by incorrectly or partially configured 14 ## personal. 7 ## MOSAIX is under CeCILL_V2 licence. See "Licence_CeCILL_V2-en.txt" 8 ## file for an english version of the licence and 9 ## "Licence_CeCILL_V2-fr.txt" for a french version. 10 ## 11 ## Permission is hereby granted, free of charge, to any person or 12 ## organization obtaining a copy of the software and accompanying 13 ## documentation covered by this license (the "Software") to use, 14 ## reproduce, display, distribute, execute, and transmit the 15 ## Software, and to prepare derivative works of the Software, and to 16 ## permit third-parties to whom the Software is furnished to do so, 17 ## all subject to the following: 18 ## 19 ## Warning, to install, configure, run, use any of MOSAIX software or 20 ## to read the associated documentation you'll need at least one (1) 21 ## brain in a reasonably working order. Lack of this implement will 22 ## void any warranties (either express or implied). Authors assumes 23 ## no responsability for errors, omissions, data loss, or any other 24 ## consequences caused directly or indirectly by the usage of his 25 ## software by incorrectly or partially configured 26 ## 15 27 ## 16 28 import numpy as np, xarray as xr … … 37 49 # Adding arguments 38 50 parser.add_argument ('--oce' , help='oce model name', type=str, default='eORCA1.2', 39 choices=['ORCA2.3', ' eORCA1.2', 'eORCA1.4', 'eORCA1.4.2', 'eORCA025', 'eORCA025.1', 'eORCA025.4'] )51 choices=['ORCA2.3', 'ORCA1.0', 'ORCA1.1', 'ORCA1_CNRM', 'eORCA1.2', 'eORCA1.4', 'eORCA1.4.2', 'eORCA025', 'eORCA025.1', 'eORCA025.4'] ) 40 52 parser.add_argument ('--atm' , help='atm model name (ICO* or LMD*)', type=str, default='ICO40' ) 41 53 parser.add_argument ('--type' , help='Type of distribution', type=str, choices=['iceshelf', 'iceberg', 'nosouth', 'full'], default='full' )
Note: See TracChangeset
for help on using the changeset viewer.