Skip to content

Unable to import StatusCode from parcels #1708

Answered by VeckoTheGecko
jwongala asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jwongala . from parcels import StatusCode works for me. What version of Parcels are you running?

import parcels
print(parcels.__version__) # let us know what this says

It also looks like this code you're running is from an older version of parcels, as we no longer have ErrorCode or plotTrajectoriesFile. Does the code you're working from mention the version of Parcels they were using?

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by VeckoTheGecko
Comment options

You must be logged in to vote
3 replies
@VeckoTheGecko
Comment options

@jwongala
Comment options

@VeckoTheGecko
Comment options

Comment options

You must be logged in to vote
3 replies
@VeckoTheGecko
Comment options

@jwongala
Comment options

@VeckoTheGecko
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
3 participants