Repository navigation
Add the recipe for the compass conda metapackage - #5
Conversation
|
Thanks for saving the rest of us from these details. I need to learn more about conda packages, so this is a nice example. I'm confused about how the conda package relates to the actual code, the repos, and the names. Right now, |
Sure, happy to do it. But I think you would benefit from learning some of these details.
Yes, for sure. The recipe is for a "metapackage" that contains all of the conda tools that COMPASS needs. It couldn't live in MPAS-Model (because of the issue with how frequently it needs to be updated) but it doesn't really belong in MPAS-Tools, now that there is a separate COMPASS repo.
The |
Addressed review comments MPAS-Dev#1, MPAS-Dev#2, MPAS-Dev#3, MPAS-Dev#4, MPAS-Dev#5, MPAS-Dev#6, MPAS-Dev#7, MPAS-Dev#8 from the Copilot review. Deferred MPAS-Dev#9 (Dask dependency) and MPAS-Dev#10 (test suite) as low priority. CODE FIXES: region) to the nearest region by great-circle distance (cKDTree), instead of silently assigning them to basin 1 via argmax. Overlapping cells (multiple regions) still pick the first matching region. Added lat/lon parameters to build_basin_ids and updated the call site in load_mesh_and_basins. greenland_3d.py so only the public API (Config and run) remains non- underscored. This satisfies the repository convention that non-underscore module-scope symbols should be documented in api.rst. ice) with a finite JSON target would crash calibrate_gamma0 instead of being excluded. Now NaN out empty regions in the target array before calibration, so active_regions correctly excludes both NaN targets and empty regions. DOC FIXES: (it uses forcing_interval_annual). GrIS 3D stays in Monthly (correct). {mesh}_2dThermalForcing_*.nc (GrIS) and {mesh}_3dThermalForcing_*.nc (AIS; optional GrIS), and fixed lowercase smb→SMB. locations (user/dev ismip7_forcing.rst) since the checked-in JSON requests 20 levels and it's configurable. NETCDF3_64BIT" to "netCDF4 engine → nccopy -k nc6 for CDF-2" (actual implementation uses netCDF4 + nccopy conversion). block (required by ismip7_run as melt_params_path but was undocumented). Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
This is from https://github.com/MPAS-Dev/MPAS-Tools/tree/master/compass