Skip to content

init_cmip6_index Assertion on activity failed source NULL #86

@chrisdane

Description

@chrisdane

Hi

The init_cmip6_index(..., source=NULL) usage seems broken:

packageDescription("epwshiftr")[c("Version", "Built")]
# 0.1.4
# R 4.1.2; ; 2024-04-12 10:18:46 UTC; unix
dt <- epwshiftr::init_cmip6_index(activity="CMIP", experiment="historical", variable="tas", frequency="mon") # ok
dt <- epwshiftr::init_cmip6_index(activity="CMIP", experiment="historical", variable="tas", frequency="mon", source=NULL) # error
Error in esgf_query(activity = unique(q$activity_drs), variable = unique(q$variable_id),  : 
  Assertion on 'activity' failed: Must be a subset of {'AerChemMIP','C4MIP','CDRMIP','CFMIP','CMIP','CORDEX','DAMIP','DCPP','DynVarMIP','FAFMIP','GMMIP','GeoMIP','HighResMIP','ISMIP6','LS3MIP','LUMIP','OMIP','PAMIP','PMIP','RFMIP','SIMIP','ScenarioMIP','VIACSAB','VolMIP'}, but has additional elements {'E3SM-Project','CAS'}.

Cheers,
Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions