E3SM-Project / polaris

Testing and analysis for OMEGA, MPAS-Ocean, MALI and MPAS-Seaice
BSD 3-Clause "New" or "Revised" License
6 stars 13 forks source link

MPAS-Seaice exact restart looking for missing variables #159

Closed darincomeau closed 9 months ago

darincomeau commented 9 months ago

The seaice_single_column_exact_restart task is currently failing with the following:

Variable iceAge not in /lcrc/group/acme/ac.dcomeau/scratch/polaris/scratch/compile-bug_010224/seaice/single_column/exact_restart/full_run/restarts/restart.2000-01-02_00.00.00.nc.
Variable iceAge not in /lcrc/group/acme/ac.dcomeau/scratch/polaris/scratch/compile-bug_010224/seaice/single_column/exact_restart/restart_run/restarts/restart.2000-01-02_00.00.00.nc.
Variable firstYearIceArea not in /lcrc/group/acme/ac.dcomeau/scratch/polaris/scratch/compile-bug_010224/seaice/single_column/exact_restart/full_run/restarts/restart.2000-01-02_00.00.00.nc.
Variable firstYearIceArea not in /lcrc/group/acme/ac.dcomeau/scratch/polaris/scratch/compile-bug_010224/seaice/single_column/exact_restart/restart_run/restarts/restart.2000-01-02_00.00.00.nc.

These tracers were recently turned off by default in https://github.com/E3SM-Project/E3SM/pull/6090.

Removing these two variables from the list here https://github.com/E3SM-Project/polaris/blob/a43fa75b5a29118509eff71d479613e3cdefcf75/polaris/seaice/tasks/single_column/exact_restart/__init__.py#L35

allow the test to pass. I'm putting together a branch for the fix.

darincomeau commented 9 months ago

Looks like I raised this too soon; I'd been working with an older version of polaris when I got this error. On main, the test passes, and the iceAge and firstYearIceArea don't show up in the seaice_single_column_exact_restart.log.

xylar commented 9 months ago

@darincomeau, it would still be worth removing variables that are not used in restart files anymore. I would suggest making a PR to remove them when you have time.