-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-- Fix coastal lakes with revised code #856
Changes from 11 commits
402849a
7dee97b
93f05ce
2d19ebe
adc319d
45f59f3
7a680cb
73b193a
3e2808d
3754527
efb3c71
abc106d
4925cae
4a7eeb3
adc79a3
58e25cd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,10 +104,14 @@ export soil_type_src="bnu.v3.30s" # Soil type data. | |
# 4) "statsgo.nh.30s" for NH 30s data | ||
# 5) "statsgo.30s" for global 30s data | ||
|
||
# choose dataset sources for lakefrac & lakedepth so that lake_data_srce=LakeFrac_LakeDepth; | ||
# available options are 'MODISP_GLDBV3', 'MODISP_GLOBATHY', 'VIIRS_GLDBV3', 'VIIRS_GLOBATHY' & 'GLDBV3' | ||
export lake_data_srce=MODISP_GLDBV3 | ||
|
||
if [ $gtype = uniform ]; then | ||
export res=96 | ||
export add_lake=false # Add lake frac and depth to orography data. | ||
export lake_cutoff=0.20 # lake frac < lake_cutoff ignored when add_lake=T | ||
export add_lake=true # Add lake frac and depth to orography data. | ||
export lake_cutoff=0.50 # lake frac < lake_cutoff ignored when add_lake=T | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add line after this: |
||
elif [ $gtype = stretch ]; then | ||
export res=96 | ||
export stretch_fac=1.5 # Stretching factor for the grid | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,10 +103,14 @@ export soil_type_src="bnu.v3.30s" # Soil type data. | |
# 4) "statsgo.nh.30s" for NH 30s data | ||
# 5) "statsgo.30s" for global 30s data | ||
|
||
# choose dataset sources for lakefrac & lakedepth so that lake_data_srce=LakeFrac_LakeDepth; | ||
# available options are 'MODISP_GLDBV3', 'MODISP_GLOBATHY', 'VIIRS_GLDBV3', 'VIIRS_GLOBATHY' & 'GLDBV3' | ||
export lake_data_srce=MODISP_GLDBV3 | ||
|
||
if [ $gtype = uniform ]; then | ||
export res=96 | ||
export add_lake=false # Add lake frac and depth to orography data. | ||
export lake_cutoff=0.20 # lake frac < lake_cutoff ignored when add_lake=T | ||
export add_lake=true # Add lake frac and depth to orography data. | ||
export lake_cutoff=0.50 # lake frac < lake_cutoff ignored when add_lake=T | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add line after this: |
||
elif [ $gtype = stretch ]; then | ||
export res=96 | ||
export stretch_fac=1.5 # Stretching factor for the grid | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,10 +102,14 @@ export soil_type_src="bnu.v3.30s" # Soil type data | |
# 4) "statsgo.nh.30s" for NH 30s data | ||
# 5) "statsgo.30s" for global 30s data | ||
|
||
# choose dataset sources for lakefrac & lakedepth so that lake_data_srce=LakeFrac_LakeDepth; | ||
# available options are 'MODISP_GLDBV3', 'MODISP_GLOBATHY', 'VIIRS_GLDBV3', 'VIIRS_GLOBATHY' & 'GLDBV3' | ||
export lake_data_srce=MODISP_GLDBV3 | ||
|
||
if [ $gtype = uniform ]; then | ||
export res=96 | ||
export add_lake=false # Add lake frac and depth to orography data. | ||
export lake_cutoff=0.20 # lake frac < lake_cutoff ignored when add_lake=T | ||
export add_lake=true # Add lake frac and depth to orography data. | ||
export lake_cutoff=0.50 # lake frac < lake_cutoff ignored when add_lake=T | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add line after this: |
||
elif [ $gtype = stretch ]; then | ||
export res=96 | ||
export stretch_fac=1.5 # Stretching factor for the grid | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add line after this:
export gridcell_lake = 1 # 1:only consider grid cell lakes; 0: consider fractional lakes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Is "gridcell_lake" same as "binary_lake"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, maybe binary_lake is a better name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe the comment should say "# 1:only consider full grid cell lakes; 0: consider fractional lakes"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or "# 1:only output full grid cell lakes; 0: output fractional lakes"