Skip to content

Conversation

michellefrazer
Copy link

Code was updated to allow quickstat jobs (corcmp and syscmp) to produce zonal mean (latitude vs height) comparison plots when the compared experiments have different levels or different forecast lengths or different time increments. Fixes for corcmp routines were to have EXP interpolate to CTL levels to define differences for zonal comparisons, look for shortest forecast length among all files, find the largest common pressure level to define as toplev, look for one time increment being 2x the other and adjust dimensions accordingly, and change the naming convention when the NDAY environment variable is set so that these plots are not seen as a different month by movestat. Fixes for syscmp routines were to identify the experiment with largest time increment and adjust dimension accordingly, find the largest common pressure level to define as toplev, and allow for limiting dimensions (fewer levels, shorter forecast length, etc.) to come from CTL or EXP.

…ce zonal mean (latitude vs height) comparison plots when the compared experiments have different levels or different forecast lengths or different time increments. Fixes for corcmp routines were to have EXP interpolate to CTL levels to define differences for zonal comparisons, look forshortest forecast length among all files, find the largest common pressure level to define as toplev, look for one time increment being 2x the other and adjust dimensions accordingly, and change the naming convention when the NDAY environment variable is set so that these plots are not seen as a different month by movestat. Fixes for syscmp routines were to identify the experiment with largest time increment and adjust dimension accordingly, find the largest common pressure level to define as toplev, and allow for limiting dimensions (fewer levels, shorter forecast length, etc.) to come from CTL or EXP.
@michellefrazer michellefrazer added 0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) bugfix labels Apr 9, 2025
@michellefrazer michellefrazer requested a review from a team as a code owner April 9, 2025 16:16
@michellefrazer michellefrazer requested a review from a team as a code owner April 9, 2025 16:19
@mathomp4
Copy link
Member

Well this is complex! Good job figuring this out.

@michellefrazer michellefrazer marked this pull request as draft April 24, 2025 00:29
@michellefrazer michellefrazer marked this pull request as ready for review April 24, 2025 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants