source: trunk/TOOLS/WOOD_HARVEST/genere_woodharvest_scenarios_extension.jnl @ 8616

Last change on this file since 8616 was 6094, checked in by josefine.ghattas, 5 years ago

Add scripts for woodharvest used for the extension of CMIP6 scenarios.

  1. Vuichard
File size: 1.4 KB
Line 
1! This script computes the total wood harvested biomass per land-related unit area.
2! It is computed as the total wood biomass (primf_bioh+primn_bioh+secmf_bioh+secyf_bioh+secnf_bioh) divided by the related land cell area ((primf+primn+secdf+secdn)*area).
3
4! Data from LUH2v2 - http://luh.umd.edu/data.shtml
5use "/home/basc/dnarayan/LandUsemap_ORCHIDEE/LUH2v2h/staticData_quarterdeg.nc"
6
7
8let file1={SPAWN: "find /home/surface7/vuichard/LandUseMap_CMIP6/UofMD-landState-$1/land/yr/multiple-states/gn/ -name multiple-states_input4MIPs_landState_ScenarioMIP_UofMD-$1_gn_2100-2300.nc"}
9
10list file1
11
12use "`file1`"
13
14let file2={SPAWN: "find /home/surface7/vuichard/LandUseMap_CMIP6/UofMD-landState-$1/land/yr/multiple-transitions/gn/ -name multiple-transitions_input4MIPs_landState_ScenarioMIP_UofMD-$1_gn_2100-2300.nc"}
15
16list file2
17
18use "`file2`"
19
20! Bioh
21! Total harvest wood biomass (in kg)
22! Conversion from kg to g
23let bioh=(primf_bioh+primn_bioh+secmf_bioh+secyf_bioh+secnf_bioh)*1000
24
25! Land
26! Total land fraction over which wood harvest acts
27let land=primf+primn+secdf+secdn
28
29
30! Total Grid-cell Area
31! Conversion from km2 to m2
32let area=carea*1e6
33
34! Define harvest wood biomass per m2 of "forest"
35let woodharvest=if(land[d=2]) then bioh[d=3]/(land[d=2]*area[d=1]) else 0.
36
37
38
39
40repeat/l=1:200 save/file="/home/surface7/vuichard/LandUseMap_CMIP6/UofMD-landState-$1/outputs/$1_woodharvest_`l+2099`.nc" woodharvest[l=`l`]
41
42
Note: See TracBrowser for help on using the repository browser.