forked from NASA-LIS/LISF
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request NASA-LIS#1321 from dmocko/feature/geos-it-forcing
Add GEOS-IT as a metforcing for LIS
- Loading branch information
Showing
13 changed files
with
1,738 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
!-----------------------BEGIN NOTICE -- DO NOT EDIT----------------------- | ||
! NASA Goddard Space Flight Center | ||
! Land Information System Framework (LISF) | ||
! Version 7.4 | ||
! | ||
! Copyright (c) 2022 United States Government as represented by the | ||
! Administrator of the National Aeronautics and Space Administration. | ||
! All Rights Reserved. | ||
!-------------------------END NOTICE -- DO NOT EDIT----------------------- | ||
! | ||
!BOP | ||
!\section{GEOS-IT} | ||
!This section describes the implementation of the GEOS-IT forcing data. | ||
!EOP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
!-----------------------BEGIN NOTICE -- DO NOT EDIT----------------------- | ||
! NASA Goddard Space Flight Center | ||
! Land Information System Framework (LISF) | ||
! Version 7.4 | ||
! | ||
! Copyright (c) 2022 United States Government as represented by the | ||
! Administrator of the National Aeronautics and Space Administration. | ||
! All Rights Reserved. | ||
!-------------------------END NOTICE -- DO NOT EDIT----------------------- | ||
!BOP | ||
! !ROUTINE: finalize_geosit | ||
! \label{finalize_geosit} | ||
! | ||
! !REVISION HISTORY: | ||
! 18 Mar 2015: James Geiger, initial code (based on merra-land) | ||
! 20 Apr 2023: David Mocko, initial code (based on merra2) | ||
! | ||
! !INTERFACE: | ||
subroutine finalize_geosit(findex) | ||
|
||
! !USES: | ||
use LIS_coreMod, only : LIS_rc | ||
use geosit_forcingMod, only : geosit_struc | ||
! | ||
! !DESCRIPTION: | ||
! Routine to cleanup GEOS-IT forcing related memory allocations. | ||
! | ||
!EOP | ||
implicit none | ||
|
||
integer :: findex | ||
integer :: n | ||
|
||
do n = 1,LIS_rc%nnest | ||
select case( LIS_rc%met_interp(findex) ) | ||
|
||
case( "bilinear" ) | ||
deallocate(geosit_struc(n)%n111) | ||
deallocate(geosit_struc(n)%n121) | ||
deallocate(geosit_struc(n)%n211) | ||
deallocate(geosit_struc(n)%n221) | ||
deallocate(geosit_struc(n)%w111) | ||
deallocate(geosit_struc(n)%w121) | ||
deallocate(geosit_struc(n)%w211) | ||
deallocate(geosit_struc(n)%w221) | ||
|
||
case( "budget-bilinear" ) | ||
deallocate(geosit_struc(n)%n111) | ||
deallocate(geosit_struc(n)%n121) | ||
deallocate(geosit_struc(n)%n211) | ||
deallocate(geosit_struc(n)%n221) | ||
deallocate(geosit_struc(n)%w111) | ||
deallocate(geosit_struc(n)%w121) | ||
deallocate(geosit_struc(n)%w211) | ||
deallocate(geosit_struc(n)%w221) | ||
deallocate(geosit_struc(n)%n112) | ||
deallocate(geosit_struc(n)%n122) | ||
deallocate(geosit_struc(n)%n212) | ||
deallocate(geosit_struc(n)%n222) | ||
deallocate(geosit_struc(n)%w112) | ||
deallocate(geosit_struc(n)%w122) | ||
deallocate(geosit_struc(n)%w212) | ||
deallocate(geosit_struc(n)%w222) | ||
|
||
case( "neighbor" ) | ||
deallocate(geosit_struc(n)%n113) | ||
end select | ||
enddo | ||
deallocate(geosit_struc) | ||
|
||
end subroutine finalize_geosit | ||
|
Oops, something went wrong.