UMD-AOSC / UMD-SST

Testbed sea surface analysis system
Apache License 2.0
1 stars 2 forks source link

add a mask field to Geometry class #38

Closed travissluka closed 3 years ago

travissluka commented 3 years ago

on creation Geometry should read in a land mask from a file (separate from what is being done in State now), specified by the yaml configuration and save the mask in an atlas field contained in Geometry

travissluka commented 3 years ago

if the mask is loaded and saved to Geometry::atlasFieldSet_ in the Geometry constructor, adding it as an integer field with the field name "gmask", them BUMP should be able to do land masking if

mask_check: 1
network: 1

is added to the bump section of staticbinit.yml

loganchen39 commented 3 years ago

@travissluka I'm working on this issue. How are supposed to get this land mask file? Are we supposed to produce this file ourselves with respect to the 1x1 degree background grid, or is there already such a file?

travissluka commented 3 years ago

yes, I would just create a new file with a 1 or 0 mask value based on the the current 1x1 background file we're using.

loganchen39 commented 3 years ago

Ok, I'll create such mask file.

On 1/28/2021 2:14 PM, Travis Sluka wrote:

yes, I would just create a new file with a 1 or 0 mask value based on the the current 1x1 background file we're using.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/UMD-AOSC/UMD-SST/issues/38#issuecomment-769310990, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUO2PE2O4LLMBRT6TTCZ2DS4GZP5ANCNFSM4USOAN7A.