-
Notifications
You must be signed in to change notification settings - Fork 17
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
Revise sampler code in History #2527
Conversation
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.
This is a very large amount of changes across many many files. Hopefully the dust settles now and you have time to start making more incremental PRs that can be more carefully reviewed ...
I am curious about the alphabetize procedure that I see here (already existed). Often one can use map
instead of vector
if ordering matters, but I did not have the time to fully understand the use case.
…remove confusion.
A few more tests were made:
|
…in subroutine read_M_files_4_swath in MAPL_ObsUtil.F90
Thank you, @tclune for thinking of the %push and pop procedure in map to deal with arrays with variable lengths. There are quite a few places in the sampler code, where I have used hard coded limit. But they are small dimensions like max 100 platforms, etc. I will improve them along the way. |
I have taken a note on this map/vector issue and I will address it in the following PRs when more thorough tests are complete and when the mask sampler is implemented. OTOH, I am still adding functionalities to the obs modules and plain netCDF modules to support the geostationary images. Hence we need this PR merged to start the next PR on geostationary part 2. |
I got it and will change it in a later PR for a more systematic treatment. |
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 left a few things for you to consider in the in-line suggestions.
This is really still way to big for a single PR. We need to get something stable and then have you submit small PR's to improve.
Thanks, @tclune, I see your suggestions and I will change them later on in other PRs. |
Description
Code modifications were introduced to address many issues when running Sampler code using multiple observation platforms and multiple samplers (station, swath, trajectory) for c180 with real initial conditions. The work is coauthored with @bena-nasa and @tclune. (I would rather have the modification exposed than accumulating more changes over time.)
Some details are shown in the Changelog as below:
Related Issue
How Has This Been Tested?
Use ExtDataDriver on Mac.
Types of changes
Checklist: