Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last generated swath can possibly go past the last date #11

Open
robin-cls opened this issue Apr 22, 2022 · 0 comments
Open

Last generated swath can possibly go past the last date #11

robin-cls opened this issue Apr 22, 2022 · 0 comments

Comments

@robin-cls
Copy link
Collaborator

When specifying the first_date and last_date of a simulation, it is possible that the simulator generates a swath that ends after the specified last_date (see https://github.com/CNES/swot_simulator/blob/master/swot_simulator/orbit_propagator.py#L298)

In my case, I try to simulate data over the MITGCM time span but my plugin raises an error stating that I do not have sufficient interpolation data:
Exception: Out of bounds, mitgcm files spans [2011-09-13T00:00:00.000000000,2012-11-15T14:00:00.000000000]which does not cover the required time period [2012-11-15T13:59:27.280938, 2012-11-15T14:03:52.230859]

How should we handle this case ?

  • Should the plugin be returning invalid values when out of bounds
  • Should the last swath be omitted from the simulation if its last date is out of bounds
  • Should the user tune its first and last date of simulation so that the simulated swath falls in-bounds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant