You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find myself copy-pasting code to the following in several of my MAR notebooks:
overwriting the config dictionary with the MAR environment variables
getting local parameters and downloading files
loading model data from those files
It seems unnecessary to expose these to the typical user; for the vast majority of use cases we can replace the many lines of code that do this with a function that takes a config dictionary and outputs a dictionary of xr.Dataset or momgrid instances.
I think this would dramatically lower the barriers for new contributors to MAR. After just two commands of set up,
I find myself copy-pasting code to the following in several of my MAR notebooks:
config
dictionary with the MAR environment variablesIt seems unnecessary to expose these to the typical user; for the vast majority of use cases we can replace the many lines of code that do this with a function that takes a config dictionary and outputs a dictionary of
xr.Dataset
ormomgrid
instances.I think this would dramatically lower the barriers for new contributors to MAR. After just two commands of set up,
users should be able to make a basic plot, e.g.:
to produce
The text was updated successfully, but these errors were encountered: