Skip to content

Commit

Permalink
Add reading CAMx 3D variables
Browse files Browse the repository at this point in the history
  • Loading branch information
blychs committed Oct 4, 2024
1 parent 355fb76 commit 2bfa6f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions melodies_monet/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,9 @@ def open_model_files(self, time_interval=None, control_dict=None):
#self.obj.monet.scrip = self.obj_scrip
elif "camx" in self.model.lower():
self.mod_kwargs.update({"var_list": list_input_var})
self.mod_kwargs.update({"surf_only": control_dict['model'][self.label].get('surf_only', False)})
self.mod_kwargs.update({"fname_met_3D": control_dict['model'][self.label].get('files_vert', None)})
self.mod_kwargs.update({"fname_met_2D": control_dict['model'][self.label].get('files_met_surf', None)})
self.obj = mio.models._camx_mm.open_mfdataset(self.files, **self.mod_kwargs)
elif 'raqms' in self.model.lower():
if time_interval is not None:
Expand Down

0 comments on commit 2bfa6f2

Please sign in to comment.