Skip to content

FieldSet.from_copernicusmarine() and non-advection kernels #2236

Description

@j-atkins

cc @erikvansebille

I've started experimenting with the new from_copernicusmarine() functionality in v4-dev (#2230) and realised that in its current implementation it does not support non-advection kernels.

To elaborate, from_copernicusmarine()detects U and V variables. However, in use cases such as a CTD_BGC instrument in VirtualShip there are no advection kernels. This raises the potential issue that from_copernicusmarine() is assuming that all users will be advecting their particles. Whereas it's possible that this won't always be the case?

@VeckoTheGecko 's suggestion is that the method is renamed to something like from_copernicusmarine_currents() to be explicit about what this specific function does.

Alternatively, is there scope to handle non-advection scenarios in from_copernicusmarine() or a new method? I'd be happy to help out with this but also appreciate there could be more pressing jobs in the v4 pipeline, especially considering this could be solved for now by simply renaming the method.

Metadata

Metadata

Assignees

Type

No type

Projects

Status
Done
Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions