Replies: 2 comments 4 replies
-
|
Thanks for reaching out @pphu5, good to hear that you can run with the avg files. But I can see why you would also be able to run with the his files. I haven't come across these his files myself, so can't provide any guidance. Perhaps some of the other Parcels/ROMS/CROSO users have? @andrew-s28? @nvogtvincent? |
Beta Was this translation helpful? Give feedback.
-
|
Hey @pphu5, I have run into similar issues when using multiple input files from CROCO model fields. Is there any chance that one of your This would be the first thing I would check. Depending on the model configs, the first file may be output with additional diagnostic coordinates and dimensions that make concatenating the files require a bit of preprocessing (e.g., removing unnecessary dimensions in files) before running with Parcels. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Question
Hello everyone,
I'm currently working on a project using the ROMS model to simulate a 60-day scenario. I have a total of 60 his files (with dimensions 60,20,300,500), where each his file represents a 24-hour period (24,20,300,500) and the data is recorded at an hourly interval. Additionally, I have one avg file that averages the data over a day.
When I use the Parcel package to calculate, everything works fine with the avg file as the flow field. However, I encountered a problem when I attempted to use the flow velocities from the his files to create the flow field. Specifically, when I tried to use all the his files together, the operation failed and an error message related to dimension issues was displayed. I suspect that the problem lies in the way Fieldset.from_nemo reads the files.
Initially, I thought of reading the U or V components from each his file separately and then merging them into a single fieldset based on the time dimension. Unfortunately, this approach also failed as it seems that multiple fieldsets cannot be combined in this manner.
I'm wondering if anyone has encountered a similar issue or has any suggestions on how to resolve this. I would be extremely grateful for any help.
Here is a part of the code for reference:
Thank you in advance for your time and assistance.
Best regards,
Supporting code/error messages
Beta Was this translation helpful? Give feedback.
All reactions