Last change
on this file since 4674 was
3684,
checked in by idelkadi, 4 years ago
|
Repository under svn of a first version of Multiatlas diagnostics for LMDZ. This version is adapted to be able to run a LMDZ multiatlas on an individual account on the ciclad machine of the IPSL. In this version, the parts to be modified are identified so as to subsequently adapt it to other machines.
This version is still under development.
|
File size:
771 bytes
|
Line | |
---|
1 | def variable2reference(variable, project="ref_ipsl") : |
---|
2 | refs = { |
---|
3 | 'ref_pcmdi' : { |
---|
4 | 'CERES' : [ 'rlut', 'rsut' , 'rlutcs', 'rsutcs' ] , |
---|
5 | 'ERAINT' : [ 'tas', 'ta', 'psl', 'uas' ], |
---|
6 | 'RSS' : [ 'prw' ], |
---|
7 | 'GPCP' : ['pr'], |
---|
8 | 'UKMETOFFICE-HadISST-v1-1' : [ 'tos' ], |
---|
9 | 'NODC-WOA09' : [ 'sos'], |
---|
10 | 'CNES-AVISO-L4': [ 'zos' ] |
---|
11 | } |
---|
12 | 'ref_ipsl' : { |
---|
13 | 'ERAINT' : [ 'tas', 'psl' , 'uas' , 'vas' ], |
---|
14 | 'GPCP' : [ 'pr'], |
---|
15 | 'CERES' : [ 'rlut' , 'rsut' , 'rlutcs', 'rsutcs' ] |
---|
16 | } |
---|
17 | } |
---|
18 | if project in refs : |
---|
19 | for product in refs[project] : |
---|
20 | if variable in refs[project][product] : |
---|
21 | return product |
---|
Note: See
TracBrowser
for help on using the repository browser.