abkfenris / xarray_fmrc

A way to manage forecast Xarray datasets using datatrees
MIT License
14 stars 2 forks source link

Don't transform underlying datasets #11

Closed abkfenris closed 1 year ago

abkfenris commented 1 year ago

Description

Refactored xarray_fmrc to no longer depend on some geometry of underlying datasets. Instead it should be able to get more information from the structure of the datatree (forecast_reference_time). If more tweaking is needed, things like the time coord, time format, group_prefix, and forecast_coords can be overridden on the accessor, and it will attempt to those configs from top level datatree attributes.

Additionally it should be possible to set model_run_path and forecast_reference_time_from_path to more fully tweak how xarray_fmrc interprets the structure of the datatree.

Related Issue

Closes #10 Closes #8

Type of Change

Checklist