-
Notifications
You must be signed in to change notification settings - Fork 11
Some small bugs in feature/eCAI are fixed #16
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
base: feature/eCAI
Are you sure you want to change the base?
Conversation
| y (i) = prcp_data (i, t) | ||
| y_tmean (i) = (tair_data(1, i, t)+tair_data(2, i, t)) / 2.0d0 | ||
| y_trange (i) = abs (tair_data(2, i, t)-tair_data(1, i, t)) | ||
| y_trange (i) = tair_data(2, i, t)-tair_data(1, i, t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The abs() was included in the case that Tmax is larger than Tmin in the input files. We can remove it but that may allow for negative DTR...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should really add a warning to the user and then stop the program if Tmax > Tmin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tend to want to avoid putting in an if statement at the most granular data levels ... I think I would leave the abs in but if there is a way to also check for temperature flips at a field/vector level, perhaps once per timestep, and report if any are found, that might be preferable.
anewman89
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell, there is no way for me to ignore specific files or commits at this point. I think you'll have to create a new branch and add only the specific bug fix files.
Corrections are made in estimate_climo_anom_regression.f90, estimate_climo_regression.f90, and estimate_forcing_regression.f90. Other files added in /downscale and /from_NR are used to support compiling in my machines and can be ignored when merging.