Skip to content

parcels.FieldSet.from_croco() input files #1826

Answered by erikvansebille
wavestorm asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for considering to use Parcels, @wavestorm. And also thanks for raising this question. The support for CROCO is very new, and we don't use it much here in my own team, so I don't have much experience. The only output I saw was in a single file, but I believe you that there are other options

Parcels does support separate data and grid files for NEMO, I think that you could leverage that support. Following the 3D NEMO tutorial, you might be able to do something like

datafiles = sorted(glob("data*.nc"))  # replace with your list of filenames
gridfile = "grid.nc"  # replace with name of gridfile

filenames = {
    "U": {"lon": gridfile, "lat": gridfile, "depth": gridfile, "data": dataf…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by wavestorm
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