NOAA-ORR-ERD / PyGnome

The General NOAA Operational Modeling Environment
https://gnome.orr.noaa.gov/doc/pygnome/index.html
Other
59 stars 44 forks source link

Stochastic simulation #161

Open larissafranklin23 opened 1 week ago

larissafranklin23 commented 1 week ago

Hello, Does PyGnome have the capability to use stochastic scenarios? If so, is there any example script on how to construct stochastic scenarios?

ChrisBarker-NOAA commented 1 week ago

What kind of stochastic scenarios do you have in mind? If you have, e.g. a time series of forcing data -- ocean currents, winds, etc, you can run PyGNOME multiple times, varying various parameters each time -- e.g. start time, spill. amount, etc, etc.

We do this for our planning product: TAP.

tap.orr.noaa.gov

The code to produce those results is internal, but it's also very specific to how we do it, and how we display the results.

In the general case, stochastic runs are pretty simple -- you simply write a loop that runs the model various times with different settings.

If you have a specific idea in mind, we can help you set it up.