Lake information into the GEOS BCS workflow#1214
Lake information into the GEOS BCS workflow#1214biljanaorescanin wants to merge 14 commits intodevelopfrom
Conversation
gmao-rreichle
left a comment
There was a problem hiding this comment.
@biljanaorescanin : I tried to clean up a bit. See also comments/questions below.
| integer, intent(in) :: nc_rst, nr_rst | ||
| integer, intent(in) :: tile_id(1:nc_rst, 1:nr_rst) | ||
|
|
||
| real(REAL64), intent(out) :: tile_lake_frac( 1:n_tile) |
There was a problem hiding this comment.
Do we really need REAL64 here? By construction, there are only 10 distinct real numbers in the 30 arcsec files: [0, 0.11111, 0.22222, ..., 0.88888, 1]. Even for a tile that spans a 1-deg by 1-deg area, there are still only ~10,000 raster (30 arcsec) grid cells. Single-precision should be able to accommodate the digits required to handle the useful information.
… not defined in "use netcdf" (rmTinyCatchParaMod.F90)
|
@gmao-rreichle In re last commit, what constants aren't defined in If some are missing, I can talk to the devs. |
|
@mathomp4 : For the record, I'm attaching the build log (0-2.txt) that I got when I replaced "include 'netcdf.inc'" with "use netcdf". Looks like nothing with "NF_" is available from "use netcdf". |
|
The last commit addresses all @gmao-rreichle comments. I reran the workflow after the updates. As expected, changing |
…0753af) (mkEASETilesParam.F90, rmTinyCatchParaMod.F90)
This PR introduces HydroLAKES-TopoCat v1.1 (2023) lake information into the GEOS BCS workflow.
This update does not alter tile geometry or Pfafstetter indexing. It augments tile metadata with physically consistent lake fraction information.
It implements:
Branch was tested in BCs package for EASE grid (M36 and M09) and for Cube (c180 and c90)
Example of one tile info :
CF0180x6C_DE1440xPE0720-Pfafstetter.nc419 : 0000-00-00 00:00:00 0 2252578 0 : 0.0000 0.0099671 1.0000 : tile_lake_frac
20 : 0000-00-00 00:00:00 0 2252578 0 : 0.0000 0.0090341 1.0000 : tile_is_lake_50pct
and:
double tile_lake_frac(tile) ;
tile_lake_frac:long_name = "Lake fraction in tile" ;
tile_lake_frac:units = "1" ;
int tile_is_lake_50pct(tile) ;
tile_is_lake_50pct:long_name = "Flag: tile_lake_frac >= 0.5" ;
tile_is_lake_50pct:units = "1" ;
@gmao-rreichle