statuscodes.TimeExtrapolationError: votemper sampled outside time domain #1668
Replies: 4 comments 5 replies
-
Hi @cristinarumi . It looks like you are running your simulation for longer than you have provided field data for. You can either provide more field data to cover your time domain, or you can enable time extrapolation using the This parameter is used in the "Quickstart to Parcels" notebook in this section to work with a static field, but can also be used to extend your time domain at the end. Your modified code (assuming you're using something like fieldset = FieldSet.from_netcdf(
filenames,
variables,
dimensions,
+ allow_time_extrapolation=True,
) let me know if that helps! |
Beta Was this translation helpful? Give feedback.
-
Dear @cristinarumi, I think this is an issue with your input files. Note that the error is in the Can you check whether you really have all available timestamps for the temperature field? Looking at the error message ( |
Beta Was this translation helpful? Give feedback.
-
Dear Erik, I am currently using GLORYS12V1 daily data as the input data, covering the period from January 1993 to December 2018. Then, I loop this data to cover 90 years of simulation (365*90) backward in time. Please see below the full script for the execution:
Thank you very much in advance for your assistance. |
Beta Was this translation helpful? Give feedback.
-
Hi Erik, Thank you very much for your suggestions. I've confirmed that the data file is fine. However, after rerunning the simulation, it still fails at the exact same point (1940-12-27). What is special about December 1940 is that: The backpath simulation, starting in 2018, runs for 78 years completing 3 loops (26 years*3, from 2018 to 1941), but it breaks during the initialization of the fourth loop (starting in December 1940). The time_periodic=9496*86400 represents the number of days (9496) between the first and last day of the data set (01-01-1993 to 31-12-2018, which is 26 years) converted into seconds (*86400). However, since my input data does not include leap years, the actual number of days of the data set is 9490. Do you think this discrepancy could be causing the issue? |
Beta Was this translation helpful? Give feedback.
-
Question
Question
Hi! The error kernels need to be placed in the end of the kernels, however, this error occurs in the SampleT. How can I solve this problem? Should I move SampleT and SampleS in the end of the Kernels?
I can't set allow_time_extrapolation to True because it is a time_periodic loop.
Thank you very much in advance.
Cristina
Supporting code/error messages
Definition of kernels
Kernels and execution
Beta Was this translation helpful? Give feedback.
All reactions