You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have managed to run Parcels with NEMO AMM7 output](#1339), using the original time varying sigma levels, when a single netcdf file per variable is passed. But when I pass a list of daily files to FieldSet.from_nemo() I get the error below.
Since passing a list of files works well for FieldSet.from_nemo() for non-time varying depths, and time varying depths works well when single files are used, I wonder if this something that could easily be modified in the code with some guidance. At the moment this is forcing me to concatenate grid_W netcdf files over the time dimension, hurting performance.
Hi @tiagoams, thanks for raising. To be honest, I'm not sure how easy/challenging it would be to implement this. You can give it a try (start with removing that raise NotImplementedError()), but what you will uncover I'm not sure
Note that we are currently working on a completely different approach to Sigma-grids, at #1641. While this is targeted for CROCO velocities, the approach/algorithm might also work for AMM7 output? Keen to hear your thoughts about that!
Hi @erikvansebille , many thanks for your help. I removed the check and my simple example with vertical diffusion kernel is working as expected.
I didn't manage to understand the CROCO compliant kernel, so I will wait for more documentation to emerge.
Parcels version
3.0.4
Description
I have managed to run Parcels with NEMO AMM7 output](#1339), using the original time varying sigma levels, when a single netcdf file per variable is passed. But when I pass a list of daily files to
FieldSet.from_nemo()
I get the error below.Since passing a list of files works well for FieldSet.from_nemo() for non-time varying depths, and time varying depths works well when single files are used, I wonder if this something that could easily be modified in the code with some guidance. At the moment this is forcing me to concatenate grid_W netcdf files over the time dimension, hurting performance.
Small input files to reproduce the error are available here:
https://we.tl/t-mi0vuJogZe
Code sample
The text was updated successfully, but these errors were encountered: