File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,12 @@ def main():
5151 default = 30 ,
5252 help = "Number of steps for rollout (default 30, 15 days)" ,
5353 )
54+ preprocess_args .add_argument (
55+ "--era5_sst" ,
56+ type = bool ,
57+ default = False ,
58+ help = "If True, use ERA5 SST instead of OSTIA-Reynolds" ,
59+ )
5460
5561 # ---------- predict ----------
5662 predict_args = sub .add_parser ("predict" , help = "Run prediction only" )
@@ -114,6 +120,12 @@ def main():
114120 run_args .add_argument (
115121 "--expid" , type = str , default = "f5295" ,
116122 help = "Experiment ID used during preprocessing" )
123+ run_args .add_argument (
124+ "--era5_sst" ,
125+ type = bool ,
126+ default = False ,
127+ help = "If True, use ERA5 SST instead of OSTIA-Reynolds" ,
128+ )
117129
118130 run_args .add_argument (
119131 "--ckpt" , type = str , default = None ,
@@ -155,7 +167,8 @@ def main():
155167 args .output_dir ,
156168 args .expid ,
157169 args .res_value ,
158- args .nsteps
170+ args .nsteps ,
171+ args .era5_sst
159172 )
160173
161174 elif args .cmd == "predict" :
@@ -217,6 +230,7 @@ def main():
217230 args .expid ,
218231 args .res_value ,
219232 args .nsteps ,
233+ args .era5_sst
220234 )
221235 else :
222236 logging .info ("[1/3] Skipping preprocess" )
You can’t perform that action at this time.
0 commit comments