Skip to content

Conversation

@xylar
Copy link
Collaborator

@xylar xylar commented Feb 9, 2020

This merge changes landIceMask in the global_ocean test cases with ice-shelf cavities (wISC) to being computed from the AntarcticIceCoverange feature from Bedmap2 (and soon BedMachine, see #433). Previously, landIceFraction was interpolated to the MPAS mesh and then used to compute landIceMask, but this meant that the land-ice mask wasn't necessarily consistent with the culled mesh used to produce mapping files for E3SM.

This merge also computes the culled mesh without ice-shelf cavities within the culled_mesh step, rather than as part of a second, largely redundant step. The (currently broken) e3sm_coupling step is also updated to point to this new location for the culled mesh without ice-shelf cavities.

In the various test cases, including global_ocean and also in the diagnostics module, landIceMask is no longer computed based on landIceFraction. Instead, landIceFraction is set to zero where landIceMask == 0. Eventually, when both these fields become dynamic in time, the coupling (or forcing) code will need to update both these fields at each coupling (or forcing) interval. Since landIceMask cannot currently change in time, this is not a present concern.

Bug fix: A missing link to the driver script is added to the SO60to10wISC test case.

@xylar
Copy link
Collaborator Author

xylar commented Feb 9, 2020

Testing

I successfully ran the following test cases on LANL IC:

  • global_ocean/EC60to30wISC/init
  • global_ocean/EC60to30wISC/spin_up
  • global_ocean/SO60to10wISC/init
  • global_ocean/QU240wISC/init
  • isomip/10km/expt1.01
  • isomip_plus/2km/Ocean0
  • sub_ice_shelf_2D/5km/Haney_number_iterative_init

Results are under the following folder on LANL IC in case anyone with access would like to take a look:

/lustre/scratch4/turquoise/xylar/test_land_ice_mask/ocean/

@xylar
Copy link
Collaborator Author

xylar commented Feb 9, 2020

I don't think it's worth taking too careful a look at the changes in landIceMask because of these changes, because I will be changing both coastlines and bathymetry in #433.

@xylar
Copy link
Collaborator Author

xylar commented Feb 9, 2020

@jonbob, as a review of this, all I'm asking from you is a verification that this produces more useful results for you than our previous attempt. I'll send an email tomorrow or Monday with more details on where things stand and what I presume will need to be redone.

@xylar xylar force-pushed the ocean/land_ice_mask_from_geom_features branch from 4ddfc89 to f84a936 Compare February 9, 2020 04:43
xylar added 7 commits February 8, 2020 21:54
With this merge, landIceMask is computed in a similar way to the
coastline from the appropriate geometric_features, rather than from
a bilinear interpolation of the land-ice fraction onto the MPAS mesh.
With this merge, landIceMask is no longer computed based on
landIceFraction.  Instead, it is always read in from an input file.
This allows landIceMask for global_ocean test cases to be computed
from geometric_features while landIceFraction is computed as before
during initialization.
Previously, landIceFraction was being used with a small thereshold.
Fix landIceMask computation in ISOMIP test case as well for clarity
This is no longer done in a separate step so the link should
be to the appropriate file in the culled_mesh step.
This is just to avoid spurious error logs.
@xylar xylar force-pushed the ocean/land_ice_mask_from_geom_features branch from f84a936 to 78d478e Compare February 9, 2020 04:58
Copy link
Contributor

@mark-petersen mark-petersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good by visual inspection. Passes nightly regression suite on grizzly, gnu/optimized, intel/debug.

@mark-petersen mark-petersen removed the request for review from jonbob March 11, 2020 15:21
@mark-petersen mark-petersen merged commit 30fbeae into MPAS-Dev:ocean/develop Mar 11, 2020
@xylar xylar deleted the ocean/land_ice_mask_from_geom_features branch March 20, 2020 13:59
mark-petersen added a commit to mark-petersen/MPAS-Model that referenced this pull request Mar 24, 2020
…atures' into ocean/gm_update_maint1.2

Only used the single commit needed to remove landIceMask computation
from diagnostics:
  Read in landIceMask from input
mark-petersen added a commit that referenced this pull request Mar 24, 2020
Update maint1.2: 3D varying GM

This update adds the following PRs from ocean/develop:
- Adds options for 3d varying GM bolus and 2d varying phase speed #288
- Add GM bolus eddy stats #339
- Fix threading issue in MPAS-O GM routine #376
- compute landIceMask using geometric_features #447
- bug fixes for the nonlocal source term in KPP #305
jonbob added a commit to E3SM-Project/E3SM that referenced this pull request Mar 27, 2020
#3513)

Update maint1.2: add 3D varying GM

This update brings in a new mpas-source submodule with the following PRs from
MPAS ocean/develop:
* Adds options for 3d varying GM bolus and 2d varying phase speed
  (MPAS-Dev/MPAS-Model#288)
* Add GM bolus eddy stats (MPAS-Dev/MPAS-Model#339)
* Fix threading issue in MPAS-O GM routine (MPAS-Dev/MPAS-Model#376)
* Compute landIceMask using geometric_features (MPAS-Dev/MPAS-Model#447)
* Bug fixes for the nonlocal source term in KPP (MPAS-Dev/MPAS-Model#305)
and from E3SM master:
* Change all ocean output files to single precision (E3SM #3360)

[non-BFB]
ashwathsv pushed a commit to ashwathsv/MPAS-Model that referenced this pull request Jul 21, 2020
…into ocean/develop

This merge changes landIceMask in the global_ocean test cases with
ice-shelf cavities (wISC) to being computed from the
AntarcticIceCoverange feature from Bedmap2 (and soon BedMachine, see MPAS-Dev#433).
Previously, landIceFraction was interpolated to the MPAS mesh and
then used to compute landIceMask, but this meant that the land-ice mask
wasn't necessarily consistent with the culled mesh used to produce
mapping files for E3SM.

This merge also computes the culled mesh without ice-shelf cavities
within the culled_mesh step, rather than as part of a second, largely
redundant step. The (currently broken) e3sm_coupling step is also
updated to point to this new location for the culled mesh without
ice-shelf cavities.

In the various test cases, including global_ocean and also in the
diagnostics module, landIceMask is no longer computed based on
landIceFraction. Instead, landIceFraction is set to zero where
landIceMask == 0. Eventually, when both these fields become dynamic in
time, the coupling (or forcing) code will need to update both these
fields at each coupling (or forcing) interval. Since landIceMask cannot
currently change in time, this is not a present concern.

Bug fix: A missing link to the driver script is added to the
SO60to10wISC test case.
mattdturner added a commit that referenced this pull request Sep 1, 2020
…n/develop

This was removed in #447 but inadvertently got added back in in #457.

It should be the first step toward addressing E3SM-Project/E3SM#3797
mark-petersen added a commit to mark-petersen/MPAS-Model that referenced this pull request Jan 11, 2021
…into ocean/develop

This merge changes landIceMask in the global_ocean test cases with
ice-shelf cavities (wISC) to being computed from the
AntarcticIceCoverange feature from Bedmap2 (and soon BedMachine, see MPAS-Dev#433).
Previously, landIceFraction was interpolated to the MPAS mesh and
then used to compute landIceMask, but this meant that the land-ice mask
wasn't necessarily consistent with the culled mesh used to produce
mapping files for E3SM.

This merge also computes the culled mesh without ice-shelf cavities
within the culled_mesh step, rather than as part of a second, largely
redundant step. The (currently broken) e3sm_coupling step is also
updated to point to this new location for the culled mesh without
ice-shelf cavities.

In the various test cases, including global_ocean and also in the
diagnostics module, landIceMask is no longer computed based on
landIceFraction. Instead, landIceFraction is set to zero where
landIceMask == 0. Eventually, when both these fields become dynamic in
time, the coupling (or forcing) code will need to update both these
fields at each coupling (or forcing) interval. Since landIceMask cannot
currently change in time, this is not a present concern.

Bug fix: A missing link to the driver script is added to the
SO60to10wISC test case.
mark-petersen pushed a commit to mark-petersen/MPAS-Model that referenced this pull request Jan 11, 2021
…nto ocean/develop

This was removed in MPAS-Dev#447 but inadvertently got added back in in MPAS-Dev#457.

It should be the first step toward addressing E3SM-Project/E3SM#3797
caozd999 pushed a commit to caozd999/MPAS-Model that referenced this pull request Jan 14, 2021
…into ocean/develop

This merge changes landIceMask in the global_ocean test cases with
ice-shelf cavities (wISC) to being computed from the
AntarcticIceCoverange feature from Bedmap2 (and soon BedMachine, see MPAS-Dev#433).
Previously, landIceFraction was interpolated to the MPAS mesh and
then used to compute landIceMask, but this meant that the land-ice mask
wasn't necessarily consistent with the culled mesh used to produce
mapping files for E3SM.

This merge also computes the culled mesh without ice-shelf cavities
within the culled_mesh step, rather than as part of a second, largely
redundant step. The (currently broken) e3sm_coupling step is also
updated to point to this new location for the culled mesh without
ice-shelf cavities.

In the various test cases, including global_ocean and also in the
diagnostics module, landIceMask is no longer computed based on
landIceFraction. Instead, landIceFraction is set to zero where
landIceMask == 0. Eventually, when both these fields become dynamic in
time, the coupling (or forcing) code will need to update both these
fields at each coupling (or forcing) interval. Since landIceMask cannot
currently change in time, this is not a present concern.

Bug fix: A missing link to the driver script is added to the
SO60to10wISC test case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants