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

Bugfix/wdboggs/i3248 test max action #3275

Closed
wants to merge 2,601 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2601 commits
Select commit Hold shift + click to select a range
0358e2d
Change '_FUNCN' to '_FUNC' which is the correct macro appearing in files
darianboggs Nov 4, 2024
01d41fc
Update CHANGELOG.md
darianboggs Nov 4, 2024
57462ce
Merge pull request #3150 from GEOS-ESM/feature/wdboggs/3027_TimeAccum…
tclune Nov 4, 2024
8305c33
Merge pull request #3151 from GEOS-ESM/bugfix/wdboggs/undo_function_o…
tclune Nov 4, 2024
2f75e0d
New tests
darianboggs Nov 4, 2024
94ff0ef
Fixed VerticalRegridActions
pchakraborty Nov 4, 2024
cb49bb0
Use MAPL_FieldCreate to create field with FixedLevels vertical grid c…
pchakraborty Nov 4, 2024
4af3984
Fixed the scenarios tests vertical_regridding and vertical_regridding_2
pchakraborty Nov 4, 2024
526a318
Merge remote-tracking branch 'origin/release/MAPL-v3' into feature/pc…
pchakraborty Nov 5, 2024
36f9c9f
StateItemSpec - overload write
pchakraborty Nov 5, 2024
b779f34
StateItemSpec - overload write: forgot tests/MockItemSpec in the last…
pchakraborty Nov 5, 2024
74e5f3e
Merge pull request #3154 from GEOS-ESM/feature/pchakrab/vertical-regr…
pchakraborty Nov 5, 2024
dd8abf0
Merge branch 'feature/pchakrab/stateitemspec-overload-write' into fea…
pchakraborty Nov 5, 2024
fea946e
Update generic3g/specs/InvalidSpec.F90
tclune Nov 5, 2024
741ee49
Merge branch 'release/MAPL-v3' into feature/pchakrab/stateitemspec-ov…
tclune Nov 5, 2024
10072fe
Module for tests for AccumulatorAction subtypes
darianboggs Nov 5, 2024
c1f55f5
Merge branch 'develop' into release/MAPL-v3
mathomp4 Nov 6, 2024
2232d0b
Fix space
mathomp4 Nov 6, 2024
e15ea74
mean calculate passes
darianboggs Nov 6, 2024
be9ed7e
Updates to tests
darianboggs Nov 6, 2024
619a7a5
Basic test of accumulate_mean_R4 passes
darianboggs Nov 6, 2024
c637bc9
Disabled scenarios test vertical_regridding_2 in generic3g so that gf…
pchakraborty Nov 7, 2024
0f54666
Merge branch 'release/MAPL-v3' into feature/pchakrab/stateitemspec-ov…
pchakraborty Nov 7, 2024
88195ea
All tests pass for MeanAccumulator.
darianboggs Nov 7, 2024
86aa37d
Further progress towards integrating support for info at Field and
tclune Nov 4, 2024
1d44448
Update field_bundle/tests/Test_FieldBundleDelta.pf
tclune Nov 7, 2024
d7e7e7f
Update generic3g/vertical/FixedLevelsVerticalGrid.F90
tclune Nov 7, 2024
c7a57bf
Update generic3g/vertical/FixedLevelsVerticalGrid.F90
tclune Nov 7, 2024
83c5248
Merge pull request #3156 from GEOS-ESM/feature/pchakrab/stateitemspec…
pchakraborty Nov 7, 2024
bb4bad4
Merge remote-tracking branch 'origin/release/MAPL-v3' into feature/pc…
pchakraborty Nov 7, 2024
99ffa3e
Fixes based upon code review.
tclune Nov 7, 2024
04de6fe
Merge branch 'release/MAPL-v3' into feature/tclune/mapl3-introduce-fi…
tclune Nov 7, 2024
67074f4
Merge pull request #3162 from GEOS-ESM/feature/tclune/mapl3-introduce…
tclune Nov 7, 2024
4384b80
Move common procedures for testing accumulators
darianboggs Nov 7, 2024
47c740b
Tests for MaxAccumulator pass
darianboggs Nov 7, 2024
95f0621
MinAccumlator tests pass
darianboggs Nov 8, 2024
9670fd3
Added variable 'units' to VerticalGrid and its accessors
pchakraborty Nov 8, 2024
dc48588
ModelVerticalGrid needs units for construction
pchakraborty Nov 8, 2024
a8a4c47
Catching exceptions for adapter match and adapt methods
pchakraborty Nov 8, 2024
579c589
Clean up unused variable.
darianboggs Nov 8, 2024
148e707
Merge remote-tracking branch 'origin/release/MAPL-v3' into feature/pc…
pchakraborty Nov 8, 2024
2312dee
FixedLevelsVerticalGrid - REAL32 replaced with ESMF_KIND_R4
pchakraborty Nov 8, 2024
e07e7d0
FieldSpec::adapt_vertical_grid - fixed a bug where the wrong units, o…
pchakraborty Nov 8, 2024
969e178
Cleaning up; add messages
darianboggs Nov 8, 2024
1fae71a
All tests pass. Cleaned up.
darianboggs Nov 8, 2024
7fda743
Eliminate commented out code
darianboggs Nov 8, 2024
2712c9c
Added a Scenarios test where component A (model vertical grid) export…
pchakraborty Nov 8, 2024
f1f68ea
Updated Test_ModelVerticalGrid.pf to work in the current situation wh…
pchakraborty Nov 8, 2024
7e6d09f
Fix test failing for NAG
darianboggs Nov 8, 2024
8631681
Merge branch 'release/MAPL-v3' into feature/wdboggs/accumulator_addit…
darianboggs Nov 8, 2024
b1a5d95
Bug fix in vertical_regridding_3 test scenario
pchakraborty Nov 8, 2024
9f00778
FieldSpec.F90 - vertical regridding possible only if typekinds match
pchakraborty Nov 9, 2024
37be22d
Fixes #3169 - handle duplicate dimensions
tclune Nov 11, 2024
d2f9b63
Merge pull request #3170 from GEOS-ESM/feature/tclune/#3169-allow-dup…
tclune Nov 11, 2024
732dc11
Cleaning up.
tclune Nov 8, 2024
ac6078c
Made Get and Set more symmetric
tclune Nov 8, 2024
c86def5
Merge remote-tracking branch 'origin/release/MAPL-v3' into feature/pc…
pchakraborty Nov 11, 2024
ee62984
First cut of FakeDyn gridcomp
pchakraborty Nov 11, 2024
4205f51
A bit of refactoring.
tclune Nov 11, 2024
b981567
OuterMetaComponent - added accessor get_vertical_grid
pchakraborty Nov 12, 2024
bd6241a
FakeDyn sets PL values
pchakraborty Nov 12, 2024
0a195e5
Updated Scenarios test vertical_regridding_3 to use FakeDyn gridcomp
pchakraborty Nov 12, 2024
824cab0
Initialized T in FakeDyn. Cleanup. Updated Scenarios test vertical_re…
pchakraborty Nov 12, 2024
eb9a4f0
Formatting
pchakraborty Nov 12, 2024
5ac1078
Merge pull request #3165 from GEOS-ESM/feature/pchakrab/vertical-regr…
pchakraborty Nov 12, 2024
9f77638
Merge remote-tracking branch 'origin/release/MAPL-v3' into feature/pc…
pchakraborty Nov 12, 2024
74ae24c
Merge branch 'develop' into release/MAPL-v3
mathomp4 Nov 12, 2024
4ecbb65
Fixed bug in previous commit.
tclune Nov 12, 2024
9162789
Change names of accumulator actions
darianboggs Nov 12, 2024
d217187
Added accessor for num_levels to MAPL_GridCompGet
pchakraborty Nov 12, 2024
082c4c2
Use MAPL_GridCompGet to access gridcomp's geom and num_levels
pchakraborty Nov 12, 2024
bd77e89
FakeDyn::CMakeLists.txt - cleanup
pchakraborty Nov 12, 2024
5bafd90
Merge branch 'release/MAPL-v3' into feature/tclune/#3163-refactor-sha…
tclune Nov 12, 2024
e5ed820
Changes to tests as well
darianboggs Nov 12, 2024
11394d1
Replaced MAPL_GridCompGet's accessor num_levels with vertical_grid
pchakraborty Nov 12, 2024
854b175
Merge pull request #3171 from GEOS-ESM/feature/tclune/#3163-refactor-…
mathomp4 Nov 12, 2024
133d91a
Merge branch 'release/MAPL-v3' into feature/wdboggs/accumulator_addit…
darianboggs Nov 12, 2024
1e60bd0
Update CHANGELOG.md
darianboggs Nov 12, 2024
00df122
Remove unused code.
darianboggs Nov 12, 2024
6702570
Fix failing test for gfortran
darianboggs Nov 12, 2024
1041b39
Moved FakeDynGridComp from top level gridcomps directory to generic3d…
pchakraborty Nov 13, 2024
372d637
Merge pull request #3166 from GEOS-ESM/feature/wdboggs/accumulator_ad…
tclune Nov 13, 2024
dbf8bd2
FixedLevelsVerticalGrid - replaced MAPL_GeomGet_ with assign_fptr_con…
pchakraborty Nov 13, 2024
a52d8b5
VerticalRegridAction - the linear interpolation transformation from s…
pchakraborty Nov 13, 2024
f8e9791
FakeDynGridComp - looks more like a user gridcomp
pchakraborty Nov 13, 2024
b132827
Merge branch 'release/MAPL-v3' into feature/pchakrab/fakedyn-gridcomp
tclune Nov 13, 2024
6a78134
Merge pull request #3173 from GEOS-ESM/feature/pchakrab/fakedyn-gridcomp
pchakraborty Nov 13, 2024
9d21354
Merge remote-tracking branch 'origin/release/MAPL-v3' into feature/pc…
pchakraborty Nov 13, 2024
d3c0385
Working
pchakraborty Nov 14, 2024
e0edfb7
Merge branch 'develop' into release/MAPL-v3
mathomp4 Nov 14, 2024
c6f436c
Working
pchakraborty Nov 14, 2024
a2cc0b5
Specify short names corresponding to standard_name
pchakraborty Nov 14, 2024
5514294
Merge remote-tracking branch 'origin/release/MAPL-v3' into feature/pc…
pchakraborty Nov 15, 2024
25b5756
Replaced the string array variants(2) with two variables
pchakraborty Nov 15, 2024
a5424b7
Updated Scenarios test vertical_regridding_2
pchakraborty Nov 15, 2024
8208aa6
Test_ModelVerticalGrid - updated to use the new ModelVerticalGrid int…
pchakraborty Nov 15, 2024
234ee55
Removed unused parameters
pchakraborty Nov 15, 2024
dece8a4
Enabling vertical regridding between variables with different vertica…
pchakraborty Nov 15, 2024
99613a3
Added check for value etc. in vertical_regridding scenarios test
pchakraborty Nov 15, 2024
810ebb4
Vertical regridding between variables with different vertical stagger
pchakraborty Nov 15, 2024
38f2d09
ModelVerticalLevel - removed unused modules
pchakraborty Nov 15, 2024
32b9fa3
Removed unnecessary returns
pchakraborty Nov 15, 2024
720f4f3
Modify procedures to use counter field instead
darianboggs Nov 19, 2024
a822786
Start creation of counter field
darianboggs Nov 19, 2024
fe9fb8b
Enforcing keyword argument in ModelVerticalGrid::add_short_name
pchakraborty Nov 19, 2024
a0cdfee
Merge branch 'feature/pchakrab/vertical-regridding' into feature/pcha…
pchakraborty Nov 19, 2024
3738ce3
Tests pass with counter field
darianboggs Nov 19, 2024
a2697de
Replace extension of base methods with hooks
darianboggs Nov 19, 2024
c6bddd8
Fix failing tests; delete unused code
darianboggs Nov 20, 2024
246e402
Merge pull request #3182 from GEOS-ESM/feature/pchakrab/vertical-regr…
pchakraborty Nov 20, 2024
0384572
Merge branch 'feature/pchakrab/vertical-regridding-fix-stagger-mismat…
pchakraborty Nov 20, 2024
679879b
Implement counter as I4 Field
darianboggs Nov 20, 2024
39ad737
Merge pull request #3190 from GEOS-ESM/feature/pchakrab/vertical-regr…
pchakraborty Nov 20, 2024
f834741
Fix I4 counter
darianboggs Nov 20, 2024
493db65
Minor formatting
pchakraborty Nov 21, 2024
e92c85e
Implements #3187 - added ability to allow testing array slices in Sce…
pchakraborty Nov 21, 2024
ad9328e
Check k_values at each horiz point
pchakraborty Nov 21, 2024
96c5325
Clean up and replace hooks procedures
darianboggs Nov 21, 2024
0a0c23c
Fix typo
darianboggs Nov 21, 2024
39103d1
Merge branch 'release/MAPL-v3' into feature/wdboggs/mapl3_time_averag…
darianboggs Nov 21, 2024
27e359c
Merge branch 'feature/wdboggs/mapl3_time_averaging_update' of github.…
darianboggs Nov 21, 2024
581cc45
Merge pull request #3192 from GEOS-ESM/feature/pchakrab/vertical-regr…
pchakraborty Nov 22, 2024
1a252df
Update tests for MeanAction
darianboggs Nov 22, 2024
52ae1d4
Merge branch 'release/MAPL-v3' into feature/wdboggs/mapl3_time_averag…
darianboggs Nov 22, 2024
1c0dab9
Update generic3g/actions/AccumulatorAction.F90
tclune Nov 22, 2024
72f877a
Replace if with select; add comments and blanklines
darianboggs Nov 22, 2024
f3c3910
Merge branch 'feature/wdboggs/mapl3_time_averaging_update' of github.…
darianboggs Nov 22, 2024
8af3a62
Fix filling of rc codes
darianboggs Nov 22, 2024
3d09448
Add final _RETURN(_SUCCESS)
darianboggs Nov 22, 2024
96c97ee
Merge pull request #3189 from GEOS-ESM/feature/wdboggs/mapl3_time_ave…
darianboggs Nov 22, 2024
69e0e64
Printing spec
pchakraborty Nov 25, 2024
db8cd4d
Refactored Test_ModelVerticalGrid.pf
pchakraborty Nov 25, 2024
7a3ff63
Updated ModelVerticalGrid::write_formatted
pchakraborty Nov 25, 2024
ebe3e79
Introduced field_edge/center in config file for model vertical grid, …
pchakraborty Nov 25, 2024
63f1e44
Minor formatting change
pchakraborty Nov 25, 2024
a9c122a
Add accumulation_type to FieldSpec
darianboggs Nov 25, 2024
302ddc1
Add accumulation_type to VariableSpec
darianboggs Nov 25, 2024
0df318c
Fix bugs with adding accumulation_type parameter
darianboggs Nov 25, 2024
94d76b5
Using VerticalGrid::can_connect_to to verify is two vertical grids ca…
pchakraborty Nov 25, 2024
52da958
Add test for accumulator_type; begin adapter
darianboggs Nov 25, 2024
a87817d
Minor change - updated message
pchakraborty Nov 26, 2024
23da80a
Added VerticalGrid::is_identical_to to check if the dst grid is ident…
pchakraborty Nov 26, 2024
9072369
Added BasicVerticalGrid::is_identical_to
pchakraborty Nov 26, 2024
a2e43da
Minor change in FixedLevelsVerticalGrid
pchakraborty Nov 26, 2024
d7e9e1b
FieldSpec - removed redundant modules
pchakraborty Nov 26, 2024
ef8cfb9
Add AccumulatorAdapter
darianboggs Nov 26, 2024
93deada
Merge remote-tracking branch 'origin/release/MAPL-v3' into bug/pchakr…
pchakraborty Nov 27, 2024
2a6d68c
gfortran has trouble with type bound write overload - deactivating it
pchakraborty Nov 27, 2024
49747b6
Scenarios tests vertical_regridding_2/3 are now active
pchakraborty Nov 27, 2024
898ad73
Merge branch 'develop' into release/MAPL-v3
mathomp4 Nov 27, 2024
742bbd4
FixedLevels/ModelVerticalGrid - reverting back to original write over…
pchakraborty Nov 27, 2024
7e90fd8
Merge branch 'release/MAPL-v3' into bug/pchakrab/vertical-regridding-…
pchakraborty Nov 27, 2024
6cbfd87
Fixing coupling for AccumulatorAction
darianboggs Nov 27, 2024
d1f4682
Merge branch 'release/MAPL-v3' into feature/pchakrab/vertical-regridd…
pchakraborty Nov 29, 2024
34cec8e
Improvements to OuterMetaComponent
tclune Dec 2, 2024
7b5fab0
Merge pull request #3194 from GEOS-ESM/feature/pchakrab/vertical-regr…
pchakraborty Dec 2, 2024
0b24b7a
Turns out that we need to ifdef only the generic statement
pchakraborty Dec 2, 2024
50eb3cd
Cleaned up - removed commented ifdef's
pchakraborty Dec 2, 2024
7f97efd
Merge remote-tracking branch 'origin/release/MAPL-v3' into bug/pchakr…
pchakraborty Dec 2, 2024
af5cd63
Merge branch 'release/MAPL-v3' into feature/tclune/refactor-outer-meta
mathomp4 Dec 2, 2024
e54d82c
Updates to use fieldspec changes
darianboggs Dec 2, 2024
9fe42d0
Merge pull request #3200 from GEOS-ESM/feature/tclune/refactor-outer-…
tclune Dec 2, 2024
08b66c6
Merge branch 'release/MAPL-v3' into bug/pchakrab/vertical-regridding-…
tclune Dec 2, 2024
48398c0
Fix failing compilation
darianboggs Dec 2, 2024
f44731d
Merge branch 'release/MAPL-v3' into feature/wdboggs/fieldspec_add_acc…
darianboggs Dec 2, 2024
40c1f3d
Add accumulation_type variable; make AccumulatorAction get function
darianboggs Dec 2, 2024
fa1f8a5
Merge branch 'release/MAPL-v3' into feature/wdboggs/fieldspec_add_acc…
darianboggs Dec 2, 2024
d7341ff
Update CHANGELOG.md
darianboggs Dec 2, 2024
f7ef6f8
Merge branch 'release/MAPL-v3' into feature/wdboggs/varspec_add_accum…
darianboggs Dec 2, 2024
dc57ada
Merge pull request #3204 from GEOS-ESM/feature/wdboggs/fieldspec_add_…
darianboggs Dec 2, 2024
137d3bf
Merge branch 'release/MAPL-v3' into feature/wdboggs/varspec_add_accum…
darianboggs Dec 2, 2024
fe97770
Merge branch 'release/MAPL-v3' into bug/pchakrab/vertical-regridding-…
pchakraborty Dec 2, 2024
3101d25
Add accumulation_type to VariableSpec; set FieldSpec accumulation_typ…
darianboggs Dec 2, 2024
772b1f6
Remove extra blank line
darianboggs Dec 2, 2024
cb8a036
Update CHANGELOG.md
darianboggs Dec 2, 2024
4c9ebbe
Merge pull request #3195 from GEOS-ESM/bug/pchakrab/vertical-regriddi…
pchakraborty Dec 2, 2024
2147840
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 3, 2024
de33ef3
Merge branch 'release/MAPL-v3' into feature/wdboggs/varspec_add_accum…
darianboggs Dec 3, 2024
10dbdcc
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 3, 2024
aaf55ed
Merge branch 'release/MAPL-v3' into feature/wdboggs/varspec_add_accum…
darianboggs Dec 3, 2024
5d2446c
Merge pull request #3205 from GEOS-ESM/feature/wdboggs/varspec_add_ac…
darianboggs Dec 3, 2024
5d79f4c
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 3, 2024
bd99fe0
Minor formatting change
pchakraborty Dec 4, 2024
d19834c
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 5, 2024
0d5636e
Clean up of configurable gridcomps
pchakraborty Dec 5, 2024
9a6146e
Switch Scenarios tests from using libsimple to libconfigurable
pchakraborty Dec 5, 2024
d25b7c0
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 5, 2024
810f777
Add run_dt to ComponentSpec
darianboggs Dec 5, 2024
c71f3ee
Configurables are not setting the vertical grid anymore
pchakraborty Dec 5, 2024
519a312
Re-activating history_1
pchakraborty Dec 5, 2024
64e63ae
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 5, 2024
c3ad6df
Existing tests pass
darianboggs Dec 5, 2024
21c1bff
New test passes
darianboggs Dec 5, 2024
807dcc5
Update CHANGELOG.md
darianboggs Dec 5, 2024
304f280
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 6, 2024
feead03
Merge branch 'release/MAPL-v3' into feature/wdboggs/component_timestep
darianboggs Dec 6, 2024
5ac822c
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 6, 2024
949e77e
Commit fix due to develop merge per @darianboggs
mathomp4 Dec 6, 2024
15c5699
Merge branch 'release/MAPL-v3' into feature/wdboggs/component_timestep
mathomp4 Dec 6, 2024
676346a
Turn off ifx MAPL3
mathomp4 Dec 6, 2024
ff7e6b0
Merge branch 'release/MAPL-v3' into feature/wdboggs/component_timestep
mathomp4 Dec 6, 2024
3a52c18
Explicitly allocating vertical grid in FieldSpec::adapt_vertical_grid
pchakraborty Dec 6, 2024
24a534b
Replaced Configurable Leaf and Parent with a single Configurable grid…
pchakraborty Dec 6, 2024
005869b
Using libconfigurable instead of libconfigurable_parent
pchakraborty Dec 6, 2024
d0a1ede
Using libconfigurable instead of libconfigurable_leaf/parent
pchakraborty Dec 6, 2024
be97ada
Merge pull request #3221 from GEOS-ESM/feature/wdboggs/component_time…
darianboggs Dec 6, 2024
7fad5a3
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 6, 2024
6fe3c7b
Add run_dt to VariableSpec and FieldSpec
darianboggs Dec 6, 2024
7cd68a1
Merge branch 'release/MAPL-v3' into feature/wdboggs/add_run_dt_to_fie…
darianboggs Dec 6, 2024
f15d54e
Merge branch 'release/MAPL-v3' into feature/pchakrab/update-configura…
pchakraborty Dec 6, 2024
332e3c6
add run_dt: ComponentSpec, VariableSpec, FieldSpec
darianboggs Dec 6, 2024
9567ee3
Added /lib to LD_LIBRARY_PATH of MAPL.generic3g.tests
pchakraborty Dec 7, 2024
a7e412e
libconfigurable_parent/leaf_gridcomp -> libconfigurable_gridcomp
pchakraborty Dec 8, 2024
4a16f59
Add loggers when reading and writing weights
mathomp4 Dec 9, 2024
ff54749
Fix typo
mathomp4 Dec 9, 2024
c208f62
Configurable adds a vertical grid (BasicVerticalGrid(5)) to the gridc…
pchakraborty Dec 9, 2024
1028921
Removed Simple Leaf/Parent gridcomps and associated bootstrap tests
pchakraborty Dec 9, 2024
3c0e4fd
Added vertical_grid to cap3g test configs
pchakraborty Dec 10, 2024
0369a94
ConfigurableGridComp - cleanup
pchakraborty Dec 10, 2024
02e7a91
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 10, 2024
b134aa2
Merge branch 'develop' into feature/mathomp4/weight-logger
mathomp4 Dec 10, 2024
93bf4e2
Merge remote-tracking branch 'origin/release/MAPL-v3' into feature/pc…
pchakraborty Dec 10, 2024
428fb37
Merge pull request #3231 from GEOS-ESM/feature/pchakrab/update-config…
tclune Dec 10, 2024
4dbc5e3
Merge pull request #3233 from GEOS-ESM/feature/mathomp4/weight-logger
mathomp4 Dec 10, 2024
39d4278
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 10, 2024
761185e
Merge branch 'release/MAPL-v3' into feature/wdboggs/add_run_dt_to_fie…
darianboggs Dec 10, 2024
3937be6
Remove run_dt from VariableSpec
darianboggs Dec 10, 2024
115f172
Rm unnecessary change to VariableSpec
darianboggs Dec 10, 2024
7c1ed9e
Update CHANGELOG.md
darianboggs Dec 10, 2024
f9eae91
Add run_dt to make_itemSpec
darianboggs Dec 11, 2024
d3cd293
Merge branch 'feature/wdboggs/add_run_dt_to_field_specs' of github.co…
darianboggs Dec 11, 2024
28f389c
fixes #3242
bena-nasa Dec 11, 2024
f97ca09
change i5 to i0
bena-nasa Dec 11, 2024
5508115
Add run_dt to set_blanket_geom
darianboggs Dec 11, 2024
6ef3cfe
Merge pull request #3243 from GEOS-ESM/feature/bmauer/fixes-#3242
bena-nasa Dec 11, 2024
4cfa466
Add use statements for ESMF
darianboggs Dec 11, 2024
0434ad9
Merge pull request #3240 from GEOS-ESM/feature/wdboggs/add_run_dt_to_…
tclune Dec 11, 2024
7833155
ConfigurableGridComp - cleanup
pchakraborty Dec 11, 2024
de255e3
BasicVerticalGrid::can_connect_to fails if dst id is different from t…
pchakraborty Dec 11, 2024
e2aceda
Merge branch 'develop' into release/MAPL-v3
mathomp4 Dec 11, 2024
b85db7a
Merge branch 'release/MAPL-v3' into feature/pchakrab/update-configura…
pchakraborty Dec 12, 2024
0d4ae10
Merge pull request #3245 from GEOS-ESM/feature/pchakrab/update-config…
tclune Dec 12, 2024
944cf2c
Initial implementation of StateItemAspect.
tclune Dec 14, 2024
91f359f
Workaround for GNU
tclune Dec 16, 2024
0d5ba7b
Merge pull request #3249 from GEOS-ESM/feature/tclune/#3247-introduce…
tclune Dec 16, 2024
1e994ce
Changes to fix array problem
darianboggs Dec 19, 2024
8bc8235
consolodate grid creation in subroutine
darianboggs Dec 19, 2024
e3b6480
initialize_field use grid from accumulation_field
darianboggs Dec 20, 2024
68b0370
Fixed bug with NAG for MaxAction as well as others
darianboggs Jan 2, 2025
c8aa7f2
Update CHANGELOG.md
darianboggs Jan 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 20 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ workflows:
- docker-hub-creds
matrix:
parameters:
compiler: [gfortran, ifort, ifx]
# MAPL3 Unit tests still have issues with ifx. Until we fix them, we will only run with gfortran and ifort
#compiler: [gfortran, ifort, ifx]
compiler: [gfortran, ifort]
cmake_generator: ['Unix Makefiles','Ninja']
baselibs_version: *baselibs_version
repo: MAPL
Expand All @@ -42,20 +44,22 @@ workflows:
ctest_options: "-L 'ESSENTIAL' --output-on-failure"
persist_workspace: true # Needed for MAPL tutorials

# Builds MAPL like UFS does (no FLAP and pFlogger, static)
# Builds MAPL without PFLOGGER and FARGPARSE
- ci/build:
name: build-UFS-MAPL-on-<< matrix.compiler >>
name: build-MAPL-without-pFlogger-and-fArgParse-on-<< matrix.compiler >>
context:
- docker-hub-creds
matrix:
parameters:
compiler: [gfortran, ifort, ifx]
# MAPL3 Unit tests still have issues with ifx. Until we fix them, we will only run with gfortran and ifort
#compiler: [gfortran, ifort, ifx]
compiler: [gfortran, ifort]
baselibs_version: *baselibs_version
repo: MAPL
mepodevelop: false
remove_flap: true
remove_pflogger: true
extra_cmake_options: "-DBUILD_WITH_FLAP=OFF -DBUILD_WITH_PFLOGGER=OFF -DBUILD_WITH_FARGPARSE=OFF -DUSE_EXTDATA2G=OFF -DBUILD_SHARED_MAPL=OFF"
extra_cmake_options: "-DBUILD_WITH_PFLOGGER=OFF -DBUILD_WITH_FARGPARSE=OFF"
run_unit_tests: true
# ExtData1G tests were removed from ESSENTIAL, so we run them separately here as UFS might still use 1G?
ctest_options: "-L 'ESSENTIAL|EXTDATA1G_SMALL_TESTS' --output-on-failure"
Expand All @@ -67,7 +71,9 @@ workflows:
- docker-hub-creds
matrix:
parameters:
compiler: [ifort, ifx]
# MAPL3 Unit tests still have issues with ifx. Until we fix them, we will only run with gfortran and ifort
#compiler: [ifort, ifx]
compiler: [ifort]
baselibs_version: *baselibs_version
repo: MAPL
mepodevelop: false
Expand All @@ -82,7 +88,8 @@ workflows:
- docker-hub-creds
matrix:
parameters:
compiler: [gfortran, ifort, ifx]
# MAPL3 Unit tests still have issues with ifx. Until we fix them, we will only run with gfortran and ifort
compiler: [gfortran, ifort]
tutorial_name:
- hello_world
- parent_no_children
Expand All @@ -108,7 +115,9 @@ workflows:
baselibs_version: *baselibs_version
repo: GEOSgcm
checkout_fixture: true
fixture_branch: release/MAPL-v3
mepodevelop: true
checkout_mapl3_release_branch: true
checkout_mapl_branch: true
persist_workspace: true # Needs to be true to run fv3/gcm experiment, costs extra, retained for one day

Expand Down Expand Up @@ -156,7 +165,8 @@ workflows:
repo: GEOSldas
mepodevelop: false
checkout_fixture: true
fixture_branch: develop
fixture_branch: release/MAPL-v3
checkout_mapl3_release_branch: true
checkout_mapl_branch: true

build-GEOSadas:
Expand All @@ -173,7 +183,8 @@ workflows:
baselibs_version: *baselibs_version
repo: GEOSadas
checkout_fixture: true
fixture_branch: feature/mathomp4/mapldevelop
fixture_branch: release/MAPL-v3
checkout_mapl3_release_branch: true
checkout_mapl_branch: true
mepodevelop: false
rebuild_procs: 4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/changelog-enforcer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
# Enforces the update of a changelog file on every pull request
changelog:
runs-on: ubuntu-latest
# We only want to run this job if the base_ref of the PR is *NOT*
# release/MAPL-v3
if: "!startsWith(github.base_ref, 'release/MAPL-v3')"
steps:
- uses: dangoslen/changelog-enforcer@v3
with:
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/mapl3docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: mapl3docs

on:
push:
branches:
- release/MAPL-v3
workflow_dispatch:

permissions:
contents: write

jobs:
build-and-deploy-mapl3-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build and Deploy Dev Docs
uses: ./.github/actions/deploy-ford-docs
with:
# Due to a bug in ford, for now we do *not* want to use
# the full path to the ford input file. Rather, the
# action will cd into docs/Ford and then run ford
# relative path to the ford input file.
ford-input: mapl3docs-with-remote-esmf.md
doc-folder: docs/Ford/mapl3-doc
token: ${{ secrets.GITHUB_TOKEN }}
target-folder: mapl3-doc

##############################################################################
# build-and-deploy-mapl3-dev-docs: #
# runs-on: ubuntu-latest #
# steps: #
# - name: Checkout #
# uses: actions/checkout@v4 #
# #
# - name: Build and Deploy Dev Docs #
# uses: ./.github/actions/deploy-ford-docs #
# with: #
# # Due to a bug in ford, for now we do *not* want to use #
# # the full path to the ford input file. Rather, the #
# # action will cd into docs/Ford and then run ford #
# # relative path to the ford input file. #
# ford-input: mapl3docs-with-remote-esmf.public_private_protected.md #
# doc-folder: docs/Ford/mapl3-dev-doc #
# token: ${{ secrets.GITHUB_TOKEN }} #
# target-folder: mapl3-dev-doc #
##############################################################################
26 changes: 17 additions & 9 deletions Apps/time_ave_util.F90
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ program time_ave
logical :: file_has_lev
type(DistributedProfiler), target :: t_prof
type(ProfileReporter) :: reporter
type(ESMF_Info) :: infoh

! **********************************************************************
! **** Initialization ****
Expand Down Expand Up @@ -383,7 +384,8 @@ program time_ave
else
output_grid = input_grid
end if
call ESMF_AttributeGet(output_grid,'GridType',grid_type,_RC)
call ESMF_InfoGetFromHost(output_grid,infoh,_RC)
call ESMF_InfoGet(infoh,'GridType',grid_type,_RC)
allow_zonal_means = trim(grid_type) == 'LatLon'
if (trim(grid_type) == "Cubed-Sphere") then
_ASSERT(mod(npes,6)==0,"If input files are Cubed-Sphere, must be run on multiple of 6 proccessors")
Expand Down Expand Up @@ -1232,21 +1234,23 @@ subroutine add_new_field_to_bundle(bundle,grid,lm,field_name,long_name,units,rc)

integer :: status
type(ESMF_Field) :: field
type(ESMF_Info) :: infoh

if (lm == 0) then
field = ESMF_FieldCreate(grid,name=trim(field_name),typekind=ESMF_TYPEKIND_R4,_RC)
else if (lm > 0) then
field = ESMF_FieldCreate(grid,name=trim(field_name),typekind=ESMF_TYPEKIND_R4, &
ungriddedLBound=[1],ungriddedUBound=[lm],_RC)
end if
call ESMF_AttributeSet(field,name='LONG_NAME',value=trim(long_name),_RC)
call ESMF_AttributeSet(field,name='UNITS',value=trim(units),_RC)
call ESMF_InfoGetFromHost(field,infoh,_RC)
call ESMF_InfoSet(infoh,key='LONG_NAME',value=trim(long_name),_RC)
call ESMF_InfoSet(infoh,key='UNITS',value=trim(units),_RC)
if (lm == 0) then
call ESMF_AttributeSet(field,name='DIMS',value=MAPL_DimsHorzOnly,_RC)
call ESMF_AttributeSet(field,name='VLOCATION',value=MAPL_VLocationNone,_RC)
call ESMF_InfoSet(infoh,key='DIMS',value=MAPL_DimsHorzOnly,_RC)
call ESMF_InfoSet(infoh,key='VLOCATION',value=MAPL_VLocationNone,_RC)
else if (lm > 0) then
call ESMF_AttributeSet(field,name='DIMS',value=MAPL_DimsHorzVert,_RC)
call ESMF_AttributeSet(field,name='VLOCATION',value=MAPL_VLocationCenter,_RC)
call ESMF_InfoSet(infoh,key='DIMS',value=MAPL_DimsHorzVert,_RC)
call ESMF_InfoSet(infoh,key='VLOCATION',value=MAPL_VLocationCenter,_RC)
end if
call MAPL_FieldBundleAdd(bundle,field,_RC)
if (present(rc)) then
Expand Down Expand Up @@ -1326,6 +1330,7 @@ function get_long_names(bundle,rc) result(long_names)
integer :: status
character(len=ESMF_MAXSTR), allocatable :: field_list(:)
type(ESMF_Field) :: field
type(ESMF_Info) :: infoh
integer :: i,num_fields

call ESMF_FieldBundleGet(bundle,fieldCount=num_fields,_RC)
Expand All @@ -1334,7 +1339,8 @@ function get_long_names(bundle,rc) result(long_names)
call ESMF_FieldBundleGet(bundle,fieldNameList=field_list,_RC)
do i=1,num_fields
call ESMF_FieldBundleGet(bundle,field_list(i),field=field,_RC)
call ESMF_AttributeGet(field,name='LONG_NAME',value=long_names(i),_RC)
call ESMF_InfoGetFromHost(field,infoh,_RC)
call ESMF_InfoGet(infoh,key='LONG_NAME',value=long_names(i),_RC)
enddo
if (present(rc)) then
RC=_SUCCESS
Expand All @@ -1349,6 +1355,7 @@ function get_units(bundle,rc) result(units)
integer :: status
character(len=ESMF_MAXSTR), allocatable :: field_list(:)
type(ESMF_Field) :: field
type(ESMF_Info) :: infoh
integer :: i,num_fields

call ESMF_FieldBundleGet(bundle,fieldCount=num_fields,_RC)
Expand All @@ -1357,7 +1364,8 @@ function get_units(bundle,rc) result(units)
call ESMF_FieldBundleGet(bundle,fieldNameList=field_list,_RC)
do i=1,num_fields
call ESMF_FieldBundleGet(bundle,field_list(i),field=field,_RC)
call ESMF_AttributeGet(field,name='UNITS',value=units(i),_RC)
call ESMF_InfoGetFromHost(field,infoh,_RC)
call ESMF_InfoGet(infoh,key='UNITS',value=units(i),_RC)
enddo
if (present(rc)) then
RC=_SUCCESS
Expand Down
73 changes: 73 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,81 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v3.0.0 - Development]

### Removed

- Removes backward compatibility for MAPL_FargparseCLI functions. Only accepts function usage in which the result is of
MAPL_CapOptions type.
- Remove FLAP support.
- Remove `BUILD_SHARED_MAPL` CMake option. MAPL3 is now always built as a shared library.

### Added

- Moved generic3g from using yafyaml to ESMF HConfig for yaml parsing
- Tests for wildcard field specification in History
- New generic3g directory intended to replace existing generic directory when completed.
- Modules there temporarily have `mapl3g_` as the prefix.
- New command line switches for activating global time and memory
profiling. The default is off. Use `--enable_global_timeprof` and
`--enable_global_memprof` to activate.
- New gauge for measuring memory allocation based upon mallinfo().
MAPL is now instrumented with this memory profiler and it produces
reasonable results. Should nicely complement other tools that
measure HWM.
- Replace ESMF_Attribute calls with ESMF_Info calls in MAPL_FieldCopyAttribute
- Convert values in ESMF\_Field with compatible units using udunits2.
- Add make_geom function in new module mapl3g_HistoryCollectionGridComp_private.
- Use anchors for reading HConfig in Test_HistoryGridComp.
- Add procedures for MAPL_GetResource from ESMF_HConfig.
- Added GitHub Action to generate MAPL3 Ford Docs
- Added capability for HistoryCollectionGridComp to extract field names from expressions
- Added ability for HistoryCollectionGridComp to extract multiple field names from expressions
- Added vertical and ungridded dimensions to output for History3G
- Create rank-agnostic representation of `ESMF_Field` objects as rank-3 array pointers.
- Add time accumulation for output from ESMF_Field objects.
- Add tests for time accumulation
- Add variable to FieldSpec for accumulation type
- Add accumulation type variable to VariableSpec and ComponentSpecParser
- Add run_dt to ComponentSpec and ComponentSpecParser
- Add run_dt to FieldSpec

### Changed

- Profile reporting has been relocated into the `./profile` directory.
- Improved diagnostic message for profiler imbalances at end of run.
Now gives the name of the timer that has not been stopped when
finalizing a profiler.
- Changed all ESMF_AttributeGet and ESMF_AttributeSet to ESMF_InfoGet and ESMF_InfoSet respectively as old calls will be deprecated soon.
- Update executables using FLAP to use fArgParse
- Update `Findudunits.cmake` to link with libdl and look for the `udunits2.xml` file (as some MAPL tests require it)
- Modified `ESMF_GridComp` creation in `GenericGridComp` to use `ESMF_CONTEXT_PARENT_VM` by default.
- Changed `get_fptr_shape` in `FieldCondensedArray*.F90`
- Change name of ExtensionAction%run to ExtensionAction%update in the abstract type and derived types.
- Add invalid method to ExtensionAction with a no-op implementation in the abstract type

### Fixed

- Fixed failures to fully trap errors in
- History GC
- MemUtils
- `register_generic_entry_points`
- Implemented workaround for NAG related to ArrayReference use in GriddedIO.
- Implemented workarounds to avoid needing `-dusty` for NAG. (Related PR in ESMA_CMake.)
- Added constructor for DSO_SetServicesWrapper
- Change macro in field/undo_function_overload.macro
- Fixed bug with AccumulatorAction and subtypes

## [Unreleased]

### Added

- Added loggers when writing or reading weight files

### Changed

- Increased formatting width of time index in ExtData2G diagnostic print

### Fixed

### Removed
Expand Down Expand Up @@ -440,11 +509,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update CI to use circleci-tools v2
- Changed the Python MAPL `__init__.py` file to restore behavior from pre-Python3 transition where we did `from foo import *`. Also fix up other Python2 code to Python3.

- Improved error message for missing labels in GridManager.

### Fixed

- Fixed bug broken multi-step file output in History under certain template conditions
- [#2433] Implemented workarounds for gfortran-13
- Missing TARGET in GriddedIO - exposed runtime error when using NAG + debug.
- Corrected some unit tests (and test utilities) to fix dangling pointers detected by NAG. Most (possibly all) of these changes are already on release/MAPL-v3, but it was getting annoying to have NAG fail unit tests with develop branch.
- Fix for CMake an Apple. Needs to set `__DARWIN` as an fpp flag. (Only used by NAG, but ...)
- Allow ExtData2G to be built as SHARED or STATIC

## [2.42.4] - 2023-12-10
Expand Down
28 changes: 14 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,6 @@ endif ()
# This tells cmake to assume MAPL's cmake directory is the first place to look
list (PREPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")

option (BUILD_SHARED_MAPL "Build shared MAPL libraries" ON)
if (BUILD_SHARED_MAPL)
set (MAPL_LIBRARY_TYPE SHARED)
else ()
set (MAPL_LIBRARY_TYPE STATIC)
endif()
message (STATUS "Building MAPL as ${MAPL_LIBRARY_TYPE} libraries")

# Some users of MAPL build GFE libraries inline with their application
# using an add_subdirectory() call rather than as a pre-build library.
# This would then populate the target already leading to find_package()
Expand Down Expand Up @@ -126,11 +118,6 @@ if (BUILD_WITH_PFLOGGER)
message (STATUS "Found pFlogger: ${PFLOGGER_DIR} (found version ${PFLOGGER_VERSION})")
endif()

option(BUILD_WITH_FLAP "Use FLAP for command line processing" OFF)
if (BUILD_WITH_FLAP)
find_package(FLAP REQUIRED)
endif ()

ecbuild_declare_project()

if (NOT Baselibs_FOUND)
Expand Down Expand Up @@ -222,24 +209,37 @@ add_subdirectory (udunits2f)
add_subdirectory (pfio)
add_subdirectory (profiler)
add_subdirectory (generic)
add_subdirectory (field_utils)
add_subdirectory (generic3g)
add_subdirectory (field)
add_subdirectory (field_bundle)
add_subdirectory (oomph) # temporary - will rename to generic when done
add_subdirectory (shared)
add_subdirectory (include)
add_subdirectory (base)
add_subdirectory (MAPL)
add_subdirectory (mapl3g)
add_subdirectory (gridcomps)
add_subdirectory (griddedio)
add_subdirectory (GeomIO)
add_subdirectory (esmf_utils)
if (BUILD_WITH_FARGPARSE)
add_subdirectory (docs)
add_subdirectory (benchmarks)
endif()

add_subdirectory (geom_mgr)
add_subdirectory (regridder_mgr)
add_subdirectory (hconfig_utils)

if (PFUNIT_FOUND)
include (add_pfunit_ctest)
add_subdirectory (pfunit EXCLUDE_FROM_ALL)
endif ()

# Support for automated code generation
include(mapl_acg)
include(mapl_create_stub_component)

add_subdirectory (Tests)

# @env will exist here if MAPL is built as itself but not as part of, say, GEOSgcm
Expand Down
Loading
Loading