Skip to content

How to use Field Sampling with a Field on different grid than U,V ? #1719

Answered by michaeldenes
VincentIMEDEA asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @VincentIMEDEA, a simple answer to your question is: "Yes, absolutely!"

The FieldSet object has a nice functions add_field() that allows you to add different fields with different grids and temporal resolutions very easily.

An example of this is in the plasticparcels project, where we combine 1/12th degree daily ocean model output with 6 hourly wind/wave data (on a different grid), and weekly averaged biogeochemical model data, all in one fieldset.

Typically, you won't call from_netcdf() (or other associated methods) just once, rather, incrementally build your fieldset. Starting with your hydrodynamic data, you can create fieldset. Then you can create your SSS fieldset, say fieldset_sss,…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@michaeldenes
Comment options

@VincentIMEDEA
Comment options

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