Skip to content
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

move cropland flag to general initialization module #130

Open
cenlinhe opened this issue May 22, 2024 · 1 comment
Open

move cropland flag to general initialization module #130

cenlinhe opened this issue May 22, 2024 · 1 comment

Comments

@cenlinhe
Copy link
Collaborator

cenlinhe commented May 22, 2024

The following FlagCropland initialization seems to be better positioned in the GeneralInitMod.F90 to separate from irrigation preparation module:

FlagCropland = .false.
! determine cropland
if ( trim(LandUseDataName) == "USGS" ) then
if ( (VegType >= 3) .and. (VegType <= 6) ) FlagCropland = .true.
elseif ( trim(LandUseDataName) == "MODIFIED_IGBP_MODIS_NOAH") then
if ( (VegType == 12) .or. (VegType == 14) ) FlagCropland = .true.
endif

@prasanthvkrishna
Copy link
Collaborator

Yes. You're right!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants