Skip to content

Commit 01ff085

Browse files
committed
rv 81 Changes (M Longo)
1. Bug fixes: a. Budget_utils is now a module. Some compilers do not like when functions have pointers as arguments, unless they are inside a module. b. In disturbance.f90, variable mask was not allocated when cpatch%ncohorts was zero, so the debugger would crash if it tried to use mask. c. In average_utils.f90, daylight was used in divisions, but the number can be zero- this should happen only in polar nights so it should be fixed. d. Several disturbance-related variables were not properly set to zero, leading to some crazy values in the big leaf model whenever fires happened. 2. Added some diagnostic variables (means and mean sum of squares, mostly radiation and u*) 3. Modified INCLUDE_FIRE = 3, now the water deficit threshold is relative to the total rainfall instead of the absolute number. 4. Corrected some R scripts
2 parents 8fdf0d7 + 212f9c6 commit 01ff085

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+11153
-5449
lines changed

BRAMS/Template/RAMSIN

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2526,8 +2526,9 @@ $ED2_INFO
25262526
! 2. Fire will be triggered with enough biomass and the total soil !
25272527
! water at the top 75 cm falls below a threshold. !
25282528
! 3. Fire will be triggered with enough biomass and accumulated !
2529-
! 30-day water deficit exceeds the threshold given by SM_FIRE. !
2530-
! This is soil independent. !
2529+
! water deficit exceeds the threshold given by SM_FIRE times. !
2530+
! the total precipitation of the past 12 months. This method !
2531+
! does not directly depend on soil texture. !
25312532
! FIRE_PARAMETER -- If fire happens, this will control the intensity of the disturbance !
25322533
! given the amount of fuel (currently the total above-ground !
25332534
! biomass). !
@@ -2540,8 +2541,9 @@ $ED2_INFO
25402541
! 1m that will prevent fires to happen. The dry air soil !
25412542
! potential is defined as -3.1 MPa, so make sure SM_FIRE !
25422543
! is greater than this value. !
2543-
! When INCLUDE_FIRE = 3, only positive values are allowed. This is !
2544-
! the minimum water deficit, in kg/m2/30 days, to trigger fires. !
2544+
! When INCLUDE_FIRE = 3, values between 0 and 2 are allowed. This is !
2545+
! the minimum water deficit relative to the total rainfall, over the !
2546+
! past 12 months, to trigger fires. !
25452547
!---------------------------------------------------------------------------------------!
25462548
INCLUDE_FIRE = 2,
25472549
FIRE_PARAMETER = 0.5,
@@ -2563,12 +2565,14 @@ $ED2_INFO
25632565

25642566
!---------------------------------------------------------------------------------------!
25652567
! ICANTURB -- This flag controls the canopy roughness. !
2566-
! 0. Based on Leuning et al. (1995), wind is computed using the similarity !
2567-
! theory for the top cohort, and they are extinguished with cumulative !
2568-
! LAI. If using CROWN_MOD 1 or 2, this will use local LAI and average !
2569-
! by crown area. !
2570-
! 1. The default ED-2.1 scheme, except that it uses the zero-plane !
2571-
! displacement height. !
2568+
! 0. Based on Leuning et al. (1995) and LEAF-3 (Walko et al. 2000). !
2569+
! Roughness and displacement height are found using simple relations !
2570+
! with vegetation height; wind is computed using the similarity theory !
2571+
! for the top cohort, then it is assumed that wind extinguishes follow- !
2572+
! ing an exponential decay with "perceived" cumulative LAI (local LAI !
2573+
! with finite crown area). !
2574+
! 1. The default ED-2.1 scheme, similar to option 0, but the wind profile !
2575+
! is not based on LAI, instead it used the cohort height. !
25722576
! 2. This uses the method of Massman (1997) using constant drag and no !
25732577
! sheltering factor. !
25742578
! 3. This is also based on Massman (1997), but with the option of varying !

BRAMS/run/RAMSIN

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,8 +2548,9 @@ $ED2_INFO
25482548
! 2. Fire will be triggered with enough biomass and the total soil !
25492549
! water at the top 75 cm falls below a threshold. !
25502550
! 3. Fire will be triggered with enough biomass and accumulated !
2551-
! 30-day water deficit exceeds the threshold given by SM_FIRE. !
2552-
! This is soil independent. !
2551+
! water deficit exceeds the threshold given by SM_FIRE times. !
2552+
! the total precipitation of the past 12 months. This method !
2553+
! does not directly depend on soil texture. !
25532554
! FIRE_PARAMETER -- If fire happens, this will control the intensity of the disturbance !
25542555
! given the amount of fuel (currently the total above-ground !
25552556
! biomass). !
@@ -2562,8 +2563,9 @@ $ED2_INFO
25622563
! 1m that will prevent fires to happen. The dry air soil !
25632564
! potential is defined as -3.1 MPa, so make sure SM_FIRE !
25642565
! is greater than this value. !
2565-
! When INCLUDE_FIRE = 3, only positive values are allowed. This is !
2566-
! the minimum water deficit, in kg/m2/30 days, to trigger fires. !
2566+
! When INCLUDE_FIRE = 3, values between 0 and 2 are allowed. This is !
2567+
! the minimum water deficit relative to the total rainfall, over the !
2568+
! past 12 months, to trigger fires. !
25672569
!---------------------------------------------------------------------------------------!
25682570
INCLUDE_FIRE = 2,
25692571
FIRE_PARAMETER = 0.5,
@@ -2585,12 +2587,14 @@ $ED2_INFO
25852587

25862588
!---------------------------------------------------------------------------------------!
25872589
! ICANTURB -- This flag controls the canopy roughness. !
2588-
! 0. Based on Leuning et al. (1995), wind is computed using the similarity !
2589-
! theory for the top cohort, and they are extinguished with cumulative !
2590-
! LAI. If using CROWN_MOD 1 or 2, this will use local LAI and average !
2591-
! by crown area. !
2592-
! 1. The default ED-2.1 scheme, except that it uses the zero-plane !
2593-
! displacement height. !
2590+
! 0. Based on Leuning et al. (1995) and LEAF-3 (Walko et al. 2000). !
2591+
! Roughness and displacement height are found using simple relations !
2592+
! with vegetation height; wind is computed using the similarity theory !
2593+
! for the top cohort, then it is assumed that wind extinguishes follow- !
2594+
! ing an exponential decay with "perceived" cumulative LAI (local LAI !
2595+
! with finite crown area). !
2596+
! 1. The default ED-2.1 scheme, similar to option 0, but the wind profile !
2597+
! is not based on LAI, instead it used the cohort height. !
25942598
! 2. This uses the method of Massman (1997) using constant drag and no !
25952599
! sheltering factor. !
25962600
! 3. This is also based on Massman (1997), but with the option of varying !

ED/Template/Template/ED2IN

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,8 +1046,9 @@ $ED_NL
10461046
! 2. Fire will be triggered with enough biomass and the total soil !
10471047
! water at the top 75 cm falls below a threshold. !
10481048
! 3. Fire will be triggered with enough biomass and accumulated !
1049-
! 30-day water deficit exceeds the threshold given by SM_FIRE. !
1050-
! This is soil independent. !
1049+
! water deficit exceeds the threshold given by SM_FIRE times. !
1050+
! the total precipitation of the past 12 months. This method !
1051+
! does not directly depend on soil texture. !
10511052
! FIRE_PARAMETER -- If fire happens, this will control the intensity of the disturbance !
10521053
! given the amount of fuel (currently the total above-ground !
10531054
! biomass). !
@@ -1060,8 +1061,9 @@ $ED_NL
10601061
! 1m that will prevent fires to happen. The dry air soil !
10611062
! potential is defined as -3.1 MPa, so make sure SM_FIRE !
10621063
! is greater than this value. !
1063-
! When INCLUDE_FIRE = 3, only positive values are allowed. This is !
1064-
! the minimum water deficit, in kg/m2/day, to trigger fires. !
1064+
! When INCLUDE_FIRE = 3, values between 0 and 2 are allowed. This is !
1065+
! the minimum water deficit relative to the total rainfall, over the !
1066+
! past 12 months, to trigger fires. !
10651067
!---------------------------------------------------------------------------------------!
10661068
NL%INCLUDE_FIRE = myfire
10671069
NL%FIRE_PARAMETER = myfuel
@@ -1083,12 +1085,14 @@ $ED_NL
10831085

10841086
!---------------------------------------------------------------------------------------!
10851087
! ICANTURB -- This flag controls the canopy roughness. !
1086-
! 0. Based on Leuning et al. (1995), wind is computed using the similarity !
1087-
! theory for the top cohort, and they are extinguished with cumulative !
1088-
! LAI. If using CROWN_MOD 1 or 2, this will use local LAI and average !
1089-
! by crown area. !
1090-
! 1. The default ED-2.1 scheme, except that it uses the zero-plane !
1091-
! displacement height. !
1088+
! 0. Based on Leuning et al. (1995) and LEAF-3 (Walko et al. 2000). !
1089+
! Roughness and displacement height are found using simple relations !
1090+
! with vegetation height; wind is computed using the similarity theory !
1091+
! for the top cohort, then it is assumed that wind extinguishes follow- !
1092+
! ing an exponential decay with "perceived" cumulative LAI (local LAI !
1093+
! with finite crown area). !
1094+
! 1. The default ED-2.1 scheme, similar to option 0, but the wind profile !
1095+
! is not based on LAI, instead it used the cohort height. !
10921096
! 2. This uses the method of Massman (1997) using constant drag and no !
10931097
! sheltering factor. !
10941098
! 3. This is also based on Massman (1997), but with the option of varying !

0 commit comments

Comments
 (0)