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

Assuring RDRS ends properly #47

Merged
merged 1 commit into from
Mar 17, 2024
Merged

Assuring RDRS ends properly #47

merged 1 commit into from
Mar 17, 2024

Conversation

kasra-keshavarz
Copy link
Collaborator

In this commit, two concerns are addressed: 1) for small domains some times, the process ends without actually doing the job and 2) using ncks and index-based hyperslab to extract a spatial subset.

For the former concern, a until ... do loop is used to assure each process on each file is finished properly. Furthermore, proper error messages are thrown at the user. For a simply case of Bow River at Banff, where the final NetCDF files are in the magnitute of a few kilobytes, the script was not behaving properly before. This behaviour is as expected with this commit.

For the latter concern, the ncks is used to avoid using cdo. ncks proves to be more stable and reliable.

Signed-off-by: Kasra Keshavarz [email protected]

In this commit, two concerns are addressed: 1) for small domains some
times, the process ends without actually doing the job and 2) using ncks
and index-based hyperslab to extract a spatial subset.

For the former concern, a `until ... do` loop is used to assure each
process on each file is finished properly. Furthermore, proper error
messages are thrown at the user. For a simply case of `Bow River at
Banff`, where the final NetCDF files are in the magnitute of a few
kilobytes, the script was not behaving properly before. This behaviour
is as expected with this commit.

For the latter concern, the `ncks` is used to avoid using `cdo`. `ncks`
proves to be more stable and reliable.

Signed-off-by: Kasra Keshavarz <[email protected]>
@kasra-keshavarz kasra-keshavarz added the bug Something isn't working label Mar 17, 2024
@kasra-keshavarz kasra-keshavarz self-assigned this Mar 17, 2024
@kasra-keshavarz
Copy link
Collaborator Author

Addressing #45 and #38. Though much of #38 is resolved, other relevant factors can be related to easymore and needs to be addressed there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant