Skip to content

Commit

Permalink
Merge pull request #3113 from GEOS-ESM/feature/aelakkra/m21c_prod_MMup1
Browse files Browse the repository at this point in the history
Updates quadratics list to avoid zonal mean trigger for cubed-sphere …
  • Loading branch information
mathomp4 authored Oct 22, 2024
2 parents 9221dbc + 768de89 commit a8029c1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Apps/time_ave_util.F90
Original file line number Diff line number Diff line change
Expand Up @@ -566,10 +566,11 @@ program time_ave
endif

if( trim(quadratics(3,nv)).ne.'XXX' ) vname2(mv) = trim(quadratics(3,nv))

nstar = index( trim(quadratics(1,nv)),'star',back=.true. )

nstar = 0
if (allow_zonal_means) nstar = index( trim(quadratics(1,nv)),'star',back=.true. )
if( nstar.ne.0 ) then
_ASSERT(allow_zonal_means,"grid is not lat-lon so cannot compute zonal means")
! _ASSERT(allow_zonal_means,"grid is not lat-lon so cannot compute zonal means")
lzstar(nv) = .TRUE.
vtitle2(mv) = "Product_of_Zonal_Mean_Deviations_of_" // trim(vname(qloc(1,nv))) // "_and_" // trim(vname(qloc(2,nv)))
endif
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Deprecated

## [v2.35.3+R21C_v1.3.1] - 2024-10-22

### Fixed

- Updates quadratics list to avoid zonal mean trigger for cubed-sphere fields in `time_ave_util.x`

## [v2.35.3+R21C_v1.3.0] - 2024-09-18

### Changed

- Add prints when calling `ESMF_FieldBundleRead` and `ESMF_FieldBundleWrite`

## [v2.35.3+R21C_v1.2.0] - 2024-06-21

### Changed
Expand Down

0 comments on commit a8029c1

Please sign in to comment.