Repository navigation
Add DocStringExtensions v0.10 compat entry + Bump version - #574
Conversation
|
Could this please be reviewed and merged? We also need this. E.g. @ranocha |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #574 +/- ##
==========================================
+ Coverage 83.81% 87.52% +3.71%
==========================================
Files 40 40
Lines 9574 9697 +123
==========================================
+ Hits 8024 8487 +463
+ Misses 1550 1210 -340 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
ranocha
left a comment
There was a problem hiding this comment.
I'm not really a maintainer of this repo, but I have the access rights to do so. The CI failures are already present on main, so I will merge this PR and release a new version.
|
FYI in SpeedyWeather we ran into some problems because of dropping v0.9 compat when in environments with other packages that don't yet support v0.10. To have both @navidcy did SpeedyWeather/SpeedyWeather.jl#1398 |
JuliaSIMD/LoopVectorization.jl#574 is released in v0.12.176, so the fork pin is no longer needed. LoopVectorization was a direct test dependency only so the pin could apply; nothing uses it directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JuliaSIMD/LoopVectorization.jl#574 is released in v0.12.176, and LoopVectorization was a direct dependency of docs, examples, and test only so a fork pin could apply. Registered Breeze 0.15 supports Oceananigans 0.117 and DocStringExtensions 0.10; Breeze `main` now requires Oceananigans 0.118, and docs, examples, and test share one workspace manifest, so the pins broke resolution for all of them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JuliaSIMD/LoopVectorization.jl#574 is released in v0.12.176, so the fork pin is no longer needed. LoopVectorization was a direct test dependency only so the pin could apply; nothing uses it directly. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Generate docstring signatures with default values Use DocStringExtensions v0.10's `MethodSignatures(defaults = true)` for the 105 docstrings whose signatures were written by hand only to show default argument values, and require DocStringExtensions 0.10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Take CloudMicrophysics from CliMA/CloudMicrophysics.jl#817 in docs and examples Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Update the registry before resolving the docs environment The self-hosted runner's depot persists between runs, so its General registry lags behind newly registered versions (e.g. ClimaParams 1.3.4). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Require Documenter 1.20 and drop branch-pinned sources Documenter 1.20 and Makie releases allow DocStringExtensions 0.10, so the docs and examples environments no longer need Documenter, Makie, or CloudMicrophysics from git branches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Allow Breeze 0.15, the first release compatible with DocStringExtensions 0.10 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Require Breeze 0.15 and use its `continuity_density` Breeze 0.15 renames `dynamics_density` to `continuity_density` and is the first release compatible with DocStringExtensions 0.10, so earlier Breeze releases are dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Take unreleased packages with DocStringExtensions 0.10 compat from git The docs, examples and test environments take SpeedyWeather (and its subpackages), Terrarium and LoopVectorization from branches that allow DocStringExtensions 0.10 and Oceananigans 0.117. The test environment also takes Breeze from main, which allows Oceananigans 0.117.2 as required by OceanBioME 0.21.1. Each pin carries a TODO to remove it once released. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Take released SpeedyWeather subpackages; Breeze from main in docs and examples SpeedyWeatherInternals 1.0.2 and RingGrids, SpeedyTransforms and LowerTriangularArrays 1.0.1 allow DocStringExtensions 0.10, so their branch pins are dropped. Docs and examples now require Oceananigans 0.117.2, which no Breeze release allows yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop SpeedyWeather branch pin in docs and test now that 0.24 is released Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Restore docs/Project.toml sources comments clobbered by Pkg.resolve Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop LoopVectorization fork pin now that 0.12.176 is released Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Allow DocStringExtensions v0.9 again, show default values with v0.10 Define SIGNATURES and TYPEDSIGNATURES in NumericalEarth, following CliMA/Oceananigans.jl#6490: with DocStringExtensions v0.10 they show default argument values, with v0.9 they fall back to plain signatures. All modules and extensions import them from NumericalEarth, and the MethodSignatures(defaults = true) docstrings use SIGNATURES. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Group SIGNATURES imports with the other NumericalEarth imports Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop the LoopVectorization dependency and Breeze pins JuliaSIMD/LoopVectorization.jl#574 is released in v0.12.176, and LoopVectorization was a direct dependency of docs, examples, and test only so a fork pin could apply. Registered Breeze 0.15 supports Oceananigans 0.117 and DocStringExtensions 0.10; Breeze `main` now requires Oceananigans 0.118, and docs, examples, and test share one workspace manifest, so the pins broke resolution for all of them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Update Project.toml --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Apply first-cell penetrative radiation as a surface flux (#605) * implement chlorophyll * make sure we apply this * fix * enhance it * adapt to new design * do not choose * fix for the forcing * Use state2dindex for the absorption coefficient and put i, j first Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Follow the i, j, grid order of the penetrative radiation interface Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * TwoColorRadiation subtypes AbstractRadiativeForcing * Require Oceananigans 0.117.2 and ClimaSeaIce 0.7.2 * fix reactant * Add loopvectorization --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * set_region_data! moves data with on_architecture (CliMA/Oceananigans.jl#6360) (#822) * Switch the one degree example to be the exact OMIP protoype (#789) * implement chlorophyll * make sure we apply this * fix * enhance it * merge the two * OMIP prototype * update * make sure everything matches * adapt to new design * do not choose * Apply batched suggestions from code review Co-authored-by: Navid C. Constantinou <navidcy@users.noreply.github.com> * Add LaTeX math and citations to the one-degree example Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * alphabetical imports * alphabetical imports * fix for the forcing * Use state2dindex for the absorption coefficient and put i, j first Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Follow the i, j, grid order of the penetrative radiation interface Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * TwoColorRadiation subtypes AbstractRadiativeForcing * Require Oceananigans 0.117.2 and ClimaSeaIce 0.7.2 * Drag velocities fold as vectors, ORCAGrid minimum_depth, river mouths from the first year * Update Project.toml --------- Co-authored-by: Navid C. Constantinou <navidcy@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Support LinearEquationOfState (#294) * add method to reference_density and heat_capacity for LinearEquationOfState and pass ocean_reference_density to sea_ice_dynamics * Move FT conversion * Update src/Oceans/ocean_simulation.jl Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Update src/Oceans/ocean_simulation.jl Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Remove duplicate import of LinearEquationOfState * Add import for OrthogonalSphericalShellGrids * Clean up documentation formatting Removed an empty line in the ocean simulation documentation. --------- Co-authored-by: Navid C. Constantinou <navidcy@users.noreply.github.com> Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Use batched interpolation in Terrarium SoilGrids input source (#905) * Use batched interpolation for SoilGrids InputSource * Fix specialization failure in _set_region_kernel! * Add test for Terrarium SoilGrids input * Use views instead of slices Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> * Add missing import and fix density unit * Use SpeedyWeather#main in docs build * Remove all outdated source overrides * Address review comments on SoilGrids input source - Use ntuple for the default horizons - Drop redundant Array copy of the indexed SoilGrids data * Make Terrarium SoilGrids test use Clenshaw10km - Size the synthetic file from a Clenshaw10km dataset instead of the new SoilGrids1000m default, which allocated ~9 GiB per variable and OOMed CI * Reject non-Clenshaw SoilGrids2 in Terrarium InputSources - Throw an ArgumentError for SoilGrids1000m and SoilGrids250m, whose regular lat-lon layout the ring interpolation does not support - Test that both grid types are rejected before any data is loaded --------- Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> * Run quality assurance checks on all package extensions (#922) * Run quality assurance checks on all package extensions Load every extension trigger in test_quality_assurance.jl so ExplicitImports checks all 14 extensions, add the missing triggers (GeoInterface, Makie, NaturalEarth, Reactant) to the test environment, and fix the implicit and stale imports this uncovers in the CopernicusClimateDataStore, CopernicusMarine and OceanBioME extensions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * some reordering * Extend methods in extensions with qualified names instead of import Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * some more * add instruction for extensions * reorder * reorder --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Use the registered SpeedyWeather in tests and docs (#932) SpeedyWeather 0.24.0 and 0.24.1 are registered with DocStringExtensions 0.10 compat, which is what the git sources were waiting for. SpeedyWeather main is now 0.25.0-DEV, outside the 0.23-0.24 compat, so resolving the test environment failed with an empty intersection. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Update Project.toml (#931) * Add TotalWaterNormalization (#921) * add authors + citep style (#934) * Convert a numeric air_kinematic_viscosity to FT in the roughness lengths (#914) The default 1.5e-5 stayed Float64 while every other roughness parameter was converted, so a Float32 model computed roughness as Union{Float32, Float64}. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> * Drop Breeze pin (#936) * Modify sources in Project.toml Updated source dependencies in Project.toml. * Update dependencies in Project.toml * Drop the LoopVectorization test dependency (#937) JuliaSIMD/LoopVectorization.jl#574 is released in v0.12.176, so the fork pin is no longer needed. LoopVectorization was a direct test dependency only so the pin could apply; nothing uses it directly. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Generate docstring signatures with default values (#786) * Generate docstring signatures with default values Use DocStringExtensions v0.10's `MethodSignatures(defaults = true)` for the 105 docstrings whose signatures were written by hand only to show default argument values, and require DocStringExtensions 0.10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Take CloudMicrophysics from CliMA/CloudMicrophysics.jl#817 in docs and examples Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Update the registry before resolving the docs environment The self-hosted runner's depot persists between runs, so its General registry lags behind newly registered versions (e.g. ClimaParams 1.3.4). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Require Documenter 1.20 and drop branch-pinned sources Documenter 1.20 and Makie releases allow DocStringExtensions 0.10, so the docs and examples environments no longer need Documenter, Makie, or CloudMicrophysics from git branches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Allow Breeze 0.15, the first release compatible with DocStringExtensions 0.10 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Require Breeze 0.15 and use its `continuity_density` Breeze 0.15 renames `dynamics_density` to `continuity_density` and is the first release compatible with DocStringExtensions 0.10, so earlier Breeze releases are dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Take unreleased packages with DocStringExtensions 0.10 compat from git The docs, examples and test environments take SpeedyWeather (and its subpackages), Terrarium and LoopVectorization from branches that allow DocStringExtensions 0.10 and Oceananigans 0.117. The test environment also takes Breeze from main, which allows Oceananigans 0.117.2 as required by OceanBioME 0.21.1. Each pin carries a TODO to remove it once released. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Take released SpeedyWeather subpackages; Breeze from main in docs and examples SpeedyWeatherInternals 1.0.2 and RingGrids, SpeedyTransforms and LowerTriangularArrays 1.0.1 allow DocStringExtensions 0.10, so their branch pins are dropped. Docs and examples now require Oceananigans 0.117.2, which no Breeze release allows yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop SpeedyWeather branch pin in docs and test now that 0.24 is released Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Restore docs/Project.toml sources comments clobbered by Pkg.resolve Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop LoopVectorization fork pin now that 0.12.176 is released Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Allow DocStringExtensions v0.9 again, show default values with v0.10 Define SIGNATURES and TYPEDSIGNATURES in NumericalEarth, following CliMA/Oceananigans.jl#6490: with DocStringExtensions v0.10 they show default argument values, with v0.9 they fall back to plain signatures. All modules and extensions import them from NumericalEarth, and the MethodSignatures(defaults = true) docstrings use SIGNATURES. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Group SIGNATURES imports with the other NumericalEarth imports Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop the LoopVectorization dependency and Breeze pins JuliaSIMD/LoopVectorization.jl#574 is released in v0.12.176, and LoopVectorization was a direct dependency of docs, examples, and test only so a fork pin could apply. Registered Breeze 0.15 supports Oceananigans 0.117 and DocStringExtensions 0.10; Breeze `main` now requires Oceananigans 0.118, and docs, examples, and test share one workspace manifest, so the pins broke resolution for all of them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Update Project.toml --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Find river mouths from GloFAS drainage pits instead of coastal cells (#917) * Take GloFAS river mouths from the LDD pits near the coast Coastal-cell detection missed mouths that GloFAS sets back behind an estuary (Ob, Yukon, Elbe, ...), dropped distinct rivers within 0.5° of a larger one, and depended on the first discharge snapshot. LISFLOOD ends every catchment in exactly one pit (ldd == 5), so the mouths are now the pits within `maximum_coastal_distance` (default 100 km) of the ocean, read from the static drainage direction map (`GloFASStaticMaps`). The cutoff drops endorheic sinks such as the Caspian. This removes the `similarity` and `channel_radius` heuristics. `coastal_outlet_indices` is replaced by `river_mouth_indices`. Closes #912 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Wrap the river-mouth ocean search across the dateline On a grid periodic in longitude, the search for ocean within `maximum_coastal_distance` of a pit was clipped at the first and last columns, so a pit near 180° missed ocean just across the dateline. The column window now wraps on periodic grids; bounded grids are unchanged. Tests check that a larger cutoff only adds mouths and delivers more discharge, and that the wrapped search finds ocean across the dateline at its true distance, but not on a bounded grid. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Test downloading the GloFAS drainage direction map Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Show GloFAS mouths by discharge in the ERA5/GloFAS example With pits as mouths the routing figure shows hundreds of mouths, so they are now listed once each and sized by discharge, which makes the Amazon mouth stand out. The text says that the distance cutoff drops inland pits and that only the discharge at the mouths reaches the ocean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Test GloFASPrescribedLand with synthetic and real GloFAS data Offline, on synthetic files in the GloFAS layout: the drainage direction map is read through `GloFASStaticMaps`, and a larger `maximum_coastal_distance` routes more rivers and more discharge. With real data (remote-data tests), the Amazon is routed and the default cutoff selects more mouths and discharge than a one-cell cutoff. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop the synthetic GloFAS test The cutoff behavior is tested on `river_mouth_indices` in `test_river_routing`, and reading the drainage direction map together with `GloFASPrescribedLand` is tested with real data in `test_glofas_prescribed_land` and the docs build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Update src/DataWrangling/GloFAS/glofas_static_maps.jl Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Apply suggestion from @simone-silvestri Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Gregory L. Wagner <wagner.greg@gmail.com> Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Allow Oceananigans 0.118 (#935) Widens the Oceananigans compat to "0.117.2, 0.118" in the root, docs, examples, and test environments. NumericalEarth's code does not use any of the APIs 0.118 changes. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Navid C. Constantinou <navidcy@users.noreply.github.com> * Fix the remote-data tests on main (#939) - Import atlantic_ocean_basin and kilometers in the tests that use them - Build the ORCA2 grid from the halo-free NEMO 5 domain_cfg without dropping columns or the fold row - Copy the bottom height to the CPU before indexing it in test_orca_grid * Use Breeze's default divergence damping in the nested atmosphere (#906) default_nested_dynamics overrode Breeze's ThermalDivergenceDamping with NoDivergenceDamping. In a 1 km nested Ida run, deep convection with 40-60 m/s updrafts then grew a ~100 m/s jet near the sponge base and blew up the acoustic substeps at 46 h, at CFL 0.8 and at CFL 0.6. With Breeze's default damping the run passes that point cleanly. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Fix the docs build (#940) * Keep three dataset snapshots in memory by default The split-explicit free surface loads every model FieldTimeSeries over its substep window, which needs three snapshots when the window crosses a sample time. With two, one_degree_simulation stopped in mid-February on the chlorophyll series. * Resolve the docstring cross-references the docs build drops Qualify refs to names not bound in the docstring's module, unlink refs to undocumented names, and close the beljaars1991flux bib entry. * Open an issue when the Data tests or Documentation workflow fails on main (#941) * Deploy each docs leg from its own build (#945) * Move default_relaxation_width out of the Breeze extension (#948) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Silence JLD2 warnings in the one-degree simulation example (#950) * Silence JLD2 warnings in the one-degree simulation example Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Import ScalarBiharmonicDiffusivity with the other closures Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Try just Oceananigans 0.118 (#942) * Try just 0.118 Updated Oceananigans version to 0.118. * Oceananigans 0.118 in every environment, ClimaSeaIce and OceanBioME from their 0.118 branches docs, examples and test take Oceananigans 0.118 as the package does, and test/reactant gains the bound. ClimaSeaIce comes from the branch of CliMA/ClimaSeaIce.jl#220 (the package, docs and test; test/reactant inherits it through its path dependency), and the test environment takes OceanBioME from the branch of OceanBioME/OceanBioME.jl#472, until each is released with Oceananigans 0.118 compat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Only test/reactant takes Oceananigans 0.118 The package, docs, examples and test keep Oceananigans 0.117.2, 0.118 with registered ClimaSeaIce, as on main. test/reactant takes 0.118 as its lower bound, with ClimaSeaIce a direct dependency so that its source, the branch of CliMA/ClimaSeaIce.jl#220, applies until that is released. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Add GEUS Greenland solid ice discharge as prescribed icebergs (#927) * Add GEUS Greenland solid ice discharge as prescribed icebergs Add `GEUSIceDischarge(; version)` and `GEUSPrescribedLand(grid; dates, ...)` for the GEUS/PROMICE gate-based solid ice discharge (Mankoff et al. 2020). The versioned `gate.nc` is downloaded from the GEUS Dataverse, averaged to monthly means, and routed onto coastal ocean cells as the `icebergs` component with `build_river_routing`, as for GloFAS. Months before the record starts use the 1987–1996 monthly climatology. Add `Base.merge` for `PrescribedLand` so GEUS icebergs can be combined with GloFAS or JRA55 rivers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Rename GEUSIceDischarge to GEUSSolidIceDischarge GEUS also publishes Greenland liquid discharge (Mankoff et al. 2020) and mass balance (Mankoff et al. 2021). Name the dataset after the solid ice discharge product so those can be added later without ambiguity, and rename the citation key to Mankoff2020solid. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Add a docs example on Greenland ice discharge from GEUS Shows which datasets cover the Arctic freshwater sources, and that an ERA5 atmosphere needs GloFAS rivers and GEUS ice discharge while JRA55-do already includes both. Adds GEUSPrescribedLand to a Greenland grid, maps where the gates' discharge enters the ocean, and compares the GEUS annual totals with JRA55-do v1.5 calving for 1987–2019. Cites Bamber et al. (2018) for the JRA55-do land-ice freshwater. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Test downloading the GEUS solid ice discharge Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Add a docs page on freshwater discharge datasets Lists which prescribed land components to combine with JRA55-do and ERA5 forcing, compares how JRA55-do, ERA5, GloFAS and GEUS cover Arctic and Greenland freshwater sources, and notes that solid ice discharge also takes the latent heat of fusion from the ocean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Remove the Greenland ice discharge example The freshwater discharge docs page documents which datasets to combine, so the example is not needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Update src/DataWrangling/GEUS/GEUS.jl Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Update src/DataWrangling/GEUS/GEUS.jl Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Update src/DataWrangling/GEUS/GEUS.jl Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Update src/DataWrangling/GEUS/GEUS.jl Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Simone's suggestions --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Bump to 0.9.4 (#954) * Bump to 0.9.4 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Bump to 0.10.0 instead: coastal_outlet_indices is removed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Bump to 0.9.4 after all: no top-level export is removed coastal_outlet_indices was exported only from NumericalEarth.Lands, never re-exported or documented; NumericalEarth's own exports only gain names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Write the inpainted cache without a barrier (#748) * Write the inpainted cache without a barrier Ranks load the snapshots their own boundaries and forcings need, so they do not all call `Field(metadatum)` together, and the barrier of the `@root` that wrote the cache hung them whenever only some of them inpainted. Any rank that inpaints now writes the cache, to a file of its own that is then renamed, so that no rank reads a partly written cache. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Reword the comment on the inpainted-data cache Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Drop the unused `@root` import and test the inpainted-data cache Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Enri <enri@me.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Read Interpolated series filled without a clock at a snapshot in memory (#791) * Read Interpolated series filled without a clock at a snapshot in memory A halo fill without a clock (set!-time initial conditions) evaluated an Interpolated FieldTimeSeries at t = 0. A partly-in-memory series holds t = 0 only if its window does: a Cyclical series whose first snapshot is after t = 0 (GLORYS daily means at noon) wraps to its last snapshot, and a window moved by reading snapshots (fts[n]) or by a run at a later time does not hold it either. The read then went outside the 2-snapshot window: BoundsError with --check-bounds=yes, garbage or a segfault without. Without a clock the series is read at the first snapshot in memory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Run the Interpolated no-clock test on every test architecture Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Enri <enri@me.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Eliot Quon <eliot@aeolus.earth> Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Skip ERA5 longitude padding for global spans (#946) * Skip ERA5 longitude padding for global spans Padding a (0, 360) BoundingBox by two native cells requests (-0.5, 360.5), which CDS wraps into a 5-column strip around the prime meridian. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Request the full circle when padding would wrap past 360° Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Error when a data file does not cover the target region (#947) * Error when a data file does not cover the target region region_info(::BoundingBox) clamped its offsets, so a file with fewer longitudes or latitudes than the target was silently stretched by repeating its edge values. Throw an ArgumentError instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Update src/DataWrangling/set_region_data.jl * Update src/DataWrangling/set_region_data.jl * Update src/DataWrangling/set_region_data.jl --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> * Add RTopo-2 dataset and `regrid_ice_draft` (#827) * Add RTopo-2 dataset and regrid_ice_draft RTopo2 provides :bottom_height and :ice_draft at 30 arc-seconds from the E3SM data mirror. A retrieve_bathymetry hook lets datasets adapt their file layout to the native grid (default unchanged). regrid_ice_draft regrids the ice base without basin removal and clamps it to non-positive values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Remove stale metadata_path import from Bathymetry The regrid_bathymetry/regrid_ocean_fraction call sites that used metadata_path directly were replaced by retrieve_bathymetry, leaving the import unused and failing the ExplicitImports CI check. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Remove stale CDS client comment from ERA5.jl (#958) The comment described a NumericalEarthCDSClientExt extension and functions (download_era5, read_cds_credentials) that do not exist. Closes #659 [skip ci] Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Build the default nested microphysics with the child grid's float type (#959) default_nested_microphysics took no float type, so Breeze fell back to Oceananigans.defaults.FloatType. A Float32 child grid then got Float64 microphysics, which fails GPU compilation. Closes #425 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Bump SpeedyWeather compat versions (#963) * Treat rank seams as interior in the nested Breeze atmosphere (#924) * Treat rank seams as interior in the nested Breeze atmosphere Fill surface stress halos, restrict relaxation strips and the terrain blend to physical boundaries, and have every rank measure the interpolated boundary extent so all ranks create the same distributed fields. Co-Authored-By: Claude <noreply@anthropic.com> * Compute land fluxes into halos instead of filling stress halos The atmosphere-ocean and atmosphere-sea-ice fluxes are already computed over 0:N+1. Launch the land interface initialization and flux kernels with `interface_kernel_parameters` too, so the stresses averaged to faces in `_assemble_net_atmosphere_fluxes!` read computed halo values, and drop the halo fill of the stress fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Rename physical_sides to domain_boundaries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Rename on_physical_boundary to on_domain_boundary Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop stale compute! import from NestedModels Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Test that a rank seam is interior to the nested domain A child whose west side is a rank seam accepts a west strip that does not bracket it, skips the terrain blend there, and gets no relaxation tendency in its west strip while the south strip reaches the seam corner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Check the seam bracket without evaluating a non-bracketing source A serial grid keeps the Interpolated condition on its Connected side, so a west strip that does not bracket the child was read out of bounds when its halo was filled. The strips now bracket the child, and the unenforced bracket is checked by regularizing a non-bracketing source directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Gregory L. Wagner <gregory.leclaire.wagner@gmail.com> * Follow the de Boyer Montégut criterion in `MixedLayerDepthField` (#956) * Follow the de Boyer Montégut criterion in MixedLayerDepthField Compare potential buoyancy, referenced to the surface, so that a single water mass has no buoyancy difference between depths, and interpolate the depth of the criterion between the first cell that meets it and the cell above. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * Compute the potential buoyancy in a kernel function Accept a constant temperature or salinity in the formulation, keep single precision by differencing the density anomaly, and interpolate from the first cell center when it lies below the reference depth. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * Update the ECCO mixed-layer depths in the regression test Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> * Bump Terrarium compat to include unreleased v0.2 (#968) * Bump Terrarium compat to include unreleased v0.2 (#968) (cherry picked from commit 35ff7bf) * Docstrings of hydrostatic_ocean_model and hydrostatic_ocean_simulation: $(SIGNATURES) As on main since #786: the hand-written signatures are generated instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbhhvmHjZYCHhFxumZ9A47 * Rename the ocean bands' on_domain_boundary to domain_wall Merging main brought #924's on_domain_boundary(topology, ::Type{<:AbstractBoundarySide}) into NestedModels, whose fallback on_domain_boundary(topology, SideType) = true overwrote ours, on_domain_boundary(T, side) = false, and broke precompilation ("Method overwriting is not permitted"). The two answer different questions: #924's whether a side is not a rank seam (Periodic counts), ours whether a side is a Closed or Open wall of the whole domain, the sides that get boundary bands (Periodic does not). Ours becomes domain_wall. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbhhvmHjZYCHhFxumZ9A47 * docs/Project.toml: Terrarium compat 0.1.10, 0.2 (missed in #968) The root Project.toml declares a workspace (docs, examples, test), so instantiating the test environment resolves docs' compat too. #968 allowed Terrarium 0.2 in Project.toml, test/ and examples/ but not docs/, where Terrarium comes from its main branch (now 0.2.0-DEV): every CI job that instantiates test fails with "empty intersection between Terrarium@0.2.0+DEV and project compatibility 0.1.10 - 0.1". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbhhvpxdTuD5JaD3hFhzdz * docs/Project.toml: SpeedyWeather compat up to 0.26, as in Project.toml and test/ Terrarium's main (0.2.0-DEV, taken from git by the workspace) now requires SpeedyWeatherInternals 1.0.1, which SpeedyWeather 0.23-0.24 do not allow. The workspace (docs, examples, test) is resolved as a whole, so docs' older SpeedyWeather compat made instantiating the test environment unsatisfiable. Project.toml allows 0.22-0.26 and test/ 0.23-0.26; docs/ now matches test/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbhhvpxdTuD5JaD3hFhzdz * Pin Terrarium to its last 0.1.x main commit in docs, test and examples Every released SpeedyWeather (0.20.2 to 0.25.0) has Terrarium as a weak dependency with compat 0.1. Terrarium's main became 0.2.0 on 25 Nov, so with `[sources] rev = "main"` no SpeedyWeather release resolves and every CI job stops at "Instantiate test environment" (main fails the same way). Pin Terrarium to dd4480a2, its main when this repository's CI was last green (25 Nov; version 0.1.11-DEV, Oceananigans 0.113.5–0.118), in all three environments: the workspace is resolved as a whole. Revert docs' SpeedyWeather compat to 0.23, 0.24 (as before 2a24234), the versions that run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbhhvpKgDchWb93a6aYpaq * Skip the net_inflow testset until an Oceananigans release has NetInflow (#6524) NestedModels' net_inflow uses Oceananigans' NetInflow and net_inflow_value, which CliMA/Oceananigans.jl#6524 adds; CI installs a registered Oceananigans without them, so this testset fails with UndefVarError. Guard it on isdefined(Oceananigans.BoundaryConditions, :NetInflow) until #6524 is released. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbhhvpKgDchWb93a6aYpaq --------- Co-authored-by: Simone Silvestri <silvestri.simone0@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: dkytezab <danielkytezable@gmail.com> Co-authored-by: Navid C. Constantinou <navidcy@users.noreply.github.com> Co-authored-by: Josué Martínez Moreno <josue.mtzmo@gmail.com> Co-authored-by: Brian Groenke <bgroe8@gmail.com> Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> Co-authored-by: Taimoor Sohail <taimoorsohail@gmail.com> Co-authored-by: Paul Berg <naydex.mc+github@gmail.com> Co-authored-by: Nora Loose <NoraLoose@users.noreply.github.com> Co-authored-by: Gregory L. Wagner <wagner.greg@gmail.com> Co-authored-by: Nicholas Barron <40299766+nrb171@users.noreply.github.com> Co-authored-by: Enrique Curchitser <curchitser@gmail.com> Co-authored-by: Enri <enri@me.com> Co-authored-by: Eliot Quon <eliot@aeolus.earth> Co-authored-by: Andreas Klocker <andreas.klocker@beyondthesump.org> Co-authored-by: Jatan Buch <jatan@aeolus.earth> Co-authored-by: Gregory L. Wagner <gregory.leclaire.wagner@gmail.com> Co-authored-by: Xin Kai Lee <xinkai@mit.edu>
No description provided.