ai2cm / fv3net

explore the FV3 data for parameterization
MIT License
16 stars 3 forks source link

Add configurable option for specifying the coarsening function in coarsen_restarts #132

Closed frodre closed 4 years ago

frodre commented 4 years ago

It would be useful to have the ability to specify the coarsening function used in the coarsen_restarts dataflow workflow. Right now there are two available functions with the same interface, coarsen_restarts_on_pressure, and coarsen_restarts_on_sigma, so it would be fairly straight-forward to implement.

A switch with a configuration specification could be added to make sure we don't have to adjust the pipeline.py module anytime we wanted to change strategies.

oliverwm1 commented 4 years ago

We're just using the pressure-level coarse-graining for now, so this doesn't seem like a priority issue to implement. Can reopen if we decide otherwise.