MPAS-Dev / MPAS-Tools

MPAS Tools Repository
Other
36 stars 63 forks source link

Make some variables optional in MpasCellCuller.x #552

Closed xylar closed 5 months ago

xylar commented 5 months ago

We want to be able to run the cell culler even on meshes (e.g. in MPAS-Seaice restart files) without meshDensity, weightsOnEdge, and angleEdge as variables.

I have made some updates to the configurations used to make local package builds and run CI so they match the package versions that conda-forge is using. I include this here because I used it in testing these changes.

xylar commented 5 months ago

Testing

I was able to successfully run the simple_seaice_partitions tool pointing to an MPAS-Seaice restart file as the mesh file, whereas I got errors related to the 3 missing variables without these fixes.