4. Run SERoot and ETLook models

Once all the data are collected successfully, the only missing input is the rootzone soil moisture. Copy the code below to your notebook and run the code cells.

  • Run rootzone soil moisture model

    se_root_in = project.run_pre_se_root()
    se_root = project.run_se_root(chunks = {"time": 1, "x": 500, "y": 500})
    

    This code will pre-process input data and run the se_root module to calculate root zone soil moisture, which the an input to calculate evapotranspiration.
  • Run etlook model

    et_look_in = project.run_pre_et_look()
    et_look = project.run_et_look(chunks = {"time_bins": 1, "x": 500, "y": 500})
    

    This code will pre-process input data and run the et_look module to calculate evaporation, transpiration, interception, and net primary production.
When running each cell, observe the outputs printed out messages. At the end of this exercise, you should have the output file et_look_out.nc among other files in the project folder:
pywapor project folder structure