Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As part of #47 Max and I discussed no longer trying to guess the columns of the dataframe (which define the project Dataset record id) from the response itself. CMIP6 does a good job of this but the prior projects do not and it leads to a good bit of code complexity. Instead, we will just make the projects we support explicit and use an abstract base class to define how facets are used in the code. These are things like, what facet is used for the variable? It is
variable
in CMIP3 and 5 butvariable_id
in CMIP6. Technically this limits how intake-esgf can be used but not in a way that limits what any users are doing now. If a user needs another project supported, we simply add a an implementation of the project base class.