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

Add a default extrapolation to the input data #155

Open
jdha opened this issue Sep 26, 2023 · 0 comments
Open

Add a default extrapolation to the input data #155

jdha opened this issue Sep 26, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Projects

Comments

@jdha
Copy link
Collaborator

jdha commented Sep 26, 2023

Issue:

If you have 1 year's worth of 5 day means it can't process that year without the last 5 day mean from the previous year and one from the next. e.g. if you have 73 time slices from say the year 2000 and you want to produce a BDY file for 2000, you'll need the 73rd time slice from 1999 and 1st time slice from 2001. You can get round this by 'tricking' pyBDY with a pseudo 1999 file containing the 1st time slice from 2000 and a pseudo 2001 file containing the 73rd slice from the 2000 file.

Solution:

By default, copy the first data time slice to t(0)-delta_t and the last time slice into t(nt)+delta_t and throw an error if the timeline requested is outside the range t(0)-delta_t : t(nt)+delta_t

@jdha jdha added the enhancement New feature or request label Sep 26, 2023
@jdha jdha self-assigned this Sep 26, 2023
@jdha jdha added this to To do in PyBDY dev via automation Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
PyBDY dev
  
To do
Development

No branches or pull requests

2 participants