Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Add mars request dispatch to data source #124

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Conversation

cfkanesan
Copy link
Collaborator

Purpose

Add the ability to pass a mars request object to the data source retrieve method. This is a preliminary step for the mch model data module implementation

Code changes:

  • data_source.DataSource.retrieve accepts an argument of type mars.Request
  • The grib definitions context is no longer derived from the request model attribute. In practice, all defined models required the cosmo definitions as IFS grib data does not define the model mars key. Setting data_scope config to ifs to disable the cosmo definitions context remains possible.

Base automatically changed from refactor-grib-reader to main March 28, 2024 15:51
@cfkanesan cfkanesan force-pushed the data-source-mars-request branch from 736f69d to bba3d6a Compare March 28, 2024 16:05
@cfkanesan cfkanesan force-pushed the data-source-mars-request branch from bba3d6a to a6cf107 Compare April 2, 2024 07:10
@cfkanesan cfkanesan merged commit 02c1b85 into main Apr 2, 2024
2 checks passed
@cfkanesan cfkanesan deleted the data-source-mars-request branch April 2, 2024 08:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants