Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default dictionary generator #85

Open
gustavo-marques opened this issue Sep 30, 2021 · 0 comments
Open

Default dictionary generator #85

gustavo-marques opened this issue Sep 30, 2021 · 0 comments

Comments

@gustavo-marques
Copy link

It would be helpful to have a module that generates a dictionary similar to the default_diag_parser. This would help with running the om4lab diagnostics in the Jupyterlab environment. This dictionary would be an input into the run function of the diagnostic.

path = '/glade/scratch/gmarques/OM4_025_JRA/'
dict_om4 = dict(static=path+'20180101.ocean_static.nc',
               outdir='./',
               infile=path+'20??????.ocean_annual_rho2.nc',
               topog=path+'20180101.ocean_static.nc',
               interactive=False,
               hgrid=None,
               label='OM4_025',
               format='png'
               )

om4labs.diags.moc.run(dict_om4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant