Skip to content

Commit

Permalink
Merge pull request #46 from inwoo-park/simba
Browse files Browse the repository at this point in the history
CHG: loadmodel_netcdf.py - skip loading mmemasstransport in Python.
  • Loading branch information
TidbitSoftware authored Jan 24, 2025
2 parents d6fe538 + 93d6751 commit 73a43a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/m/contrib/inwoo/loadmodel_netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ def loadmodel_netcdf(filename, verbose:bool=0):
md.outputdefinition.definitions = []
else:
md.outputdefinition.definitions = definitions
elif groupName in 'mmemasstransport':
# NOTE: mmemasstransport is not implemented in python.
warnings.warn('WARNING: "mmemasstransport" is not implemented in Python.')
continue
elif (not mclass in ['verbose',
'hpc_simba','fourierlove',
]) & isinstance(gclass,str): # skip specific class..
Expand Down

0 comments on commit 73a43a5

Please sign in to comment.