-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathramsin_model.py
More file actions
160 lines (138 loc) · 3.03 KB
/
Copy pathramsin_model.py
File metadata and controls
160 lines (138 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# generated by datamodel-codegen:
# filename: ramsin.json
# timestamp: 2023-04-08T15:51:43+00:00
from __future__ import annotations
from ramsin_model_config import RamsinConfig
from typing import List
from pydantic import BaseSettings
class ModelAdvRamsin(BaseSettings):
class Config(RamsinConfig): pass
advanced_ramsin: str
class ModelGrids(BaseSettings):
class Config(RamsinConfig): pass
expnme: str
runtype: str
timeunit: str
timmax: float
imonth1: int
idate1: int
iyear1: int
itime1: int
nnxp: int
nnyp: int
nnzp: int
nzg: int
nzs: int
deltax: float
deltay: float
deltaz: float
dzrat: float
dzmax: float
fixlevels: int
zz: List[float]
dtlong: float
polelat: float
polelon: float
centlat: float
centlon: float
class CcattInfo(BaseSettings):
class Config(RamsinConfig): pass
ccatt: int
chemistry: int
chem_timestep: float
chem_assim: int
srcmapfn: str
aerosol: int
aer_assim: int
aer_timestep: float
class ModelFileInfo(BaseSettings):
class Config(RamsinConfig): pass
initial: int
varfpfx: str
tnudcent: float
nudlat: int
tnudlat: float
tnudtop: float
znudtop: float
ipos: int
ioutput: int
hfilout: str
afilout: str
frqhis: float
frqanl: float
topfiles: str
sfcfiles: str
sstfpfx: str
ndvifpfx: str
itoptfn: str
isstfn: str
ivegtfn: str
isoilfn: str
ndvifn: str
class ModelOptions(BaseSettings):
class Config(RamsinConfig): pass
iswrtyp: int
ilwrtyp: int
radfrq: float
nnqparm: int
closure_type: str
nnshcu: int
confrq: float
shcufrq: float
isfcl: int
isfcl_ocean: int
soil_moist_fail: str
usdata_in: str
usmodel_in: str
mcphys_type: int
level: int
class IsanControl(BaseSettings):
class Config(RamsinConfig): pass
isan_inc: int
iapr: str
varpfx: str
class IsanIsentropic(BaseSettings):
class Config(RamsinConfig): pass
icfiletype: int
icprefix: str
wind_u_varname: str
wind_v_varname: str
temperature_varname: str
geo_varname: str
ur_varname: str
initial_latitude: float
final_latitude: float
initial_longitude: float
final_longitude: float
z_max_level: int
scale_factor: List[float]
class Post(BaseSettings):
class Config(RamsinConfig): pass
nvp: int
vp: List[str]
gprefix: str
csvfile: str
anl2gra: str
proj: str
mean_type: str
lati: List[float]
latf: List[float]
loni: List[float]
lonf: List[float]
zlevmax: List[int]
ipresslev: int
inplevs: int
iplevs: List[int]
ascii_data: str
site_lat: float
site_lon: float
class RamsinBasic(BaseSettings):
class Config(RamsinConfig): pass
model_adv_ramsin: ModelAdvRamsin
model_grids: ModelGrids
ccatt_info: CcattInfo
model_file_info: ModelFileInfo
model_options: ModelOptions
isan_control: IsanControl
isan_isentropic: IsanIsentropic
post: Post