Skip to content

Replacement for from_df in version 2022.9.18 and later? #572

Discussion options

You must be logged in to vote

@wrongkindofdoctor, apologies for the inconveniences that were caused by the breaking changes. In hindsight, we should have kept the from_dict() method but warned that it would be removed in the newest version.

when you get a moment, try the following:

obj = {'df' : self.generate_catalog(), 'esmcat':  self.dummy_esmcol_spec()}

self.catalog = intake_esm.core.esm_datastore(
            obj,
            progressbar=False, sep='|'
        )

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@wrongkindofdoctor
Comment options

Answer selected by andersy005
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@andersy005
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants