Skip to content

Commit

Permalink
Tweak a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
billsacks committed Dec 19, 2022
1 parent 7bb66ad commit 821fdc7
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions tools/mksurfdata_esmf/src/mksurfdata.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1110,19 +1110,23 @@ subroutine normalize_and_check_landuse(ns_o)
! Start by using the land fraction field from the PFT raw data set:
pct_land = pctlnd_pft(n)
!
! But we don't want to overwrite special landunits or crop with ocean where these
! special landunits extend beyond the PFT data's land fraction. In essence, this
! is saying that we'll let special landunit area grow into the natveg area before
! growing into ocean, but we'll have special landunit area grow into ocean before
! growing into crop or any other special landunit area. (This check of special
! landunit area is particularly important for glaciers, where we can have
! floating ice shelves, so we can have a scenario where pctlnd_pft is 0 but we
! have non-zero glacier cover and we want the final grid cell to be
! glacier-covered.) (We could possibly do better by considering the land mask
! from each special landunit raw dataset, and even better by mapping these
! various notions of land mask onto each other, but that starts to get messy, and
! relies on the trustworthiness of each raw dataset's land mask... this
! formulation seems reasonable enough.)
! Brief summary of the following: But we don't want to overwrite special
! landunits or crop with ocean where these special landunits extend beyond the
! PFT data's land fraction.
!
! More details:
!
! In essence, this is saying that we'll let special landunit area grow into the
! natveg area before growing into ocean, but we'll have special landunit area
! grow into ocean before growing into crop or any other special landunit area.
! (This check of special landunit area is particularly important for glaciers,
! where we can have floating ice shelves, so we can have a scenario where
! pctlnd_pft is 0 but we have non-zero glacier cover and we want the final grid
! cell to be glacier-covered.) (We could possibly do better by considering the
! land mask from each special landunit raw dataset, and even better by mapping
! these various notions of land mask onto each other, but that starts to get
! messy, and relies on the trustworthiness of each raw dataset's land mask...
! this formulation seems reasonable enough.)
!
! Note that we include pct_crop in the following, but NOT pct_natveg. The
! assumption behind that is that pct_crop is more reliable and/or more important,
Expand Down

0 comments on commit 821fdc7

Please sign in to comment.