Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

How to output patch-level variables by PFT with lat/lon for global maps in CLM5?

MikeYuan

tfYuan
Member
Hi,

I am working with CLM5(Compset:I2000Clm50BgcCrop) and I have a patch-level variable that I would like to analyze by different Plant Functional Types (PFTs). Specifically, I would like to:
  1. Output this variable separately for each PFT (rather than aggregated at the patch or gridcell level).
  2. Include the corresponding latitude and longitude information, so that the values can be mapped spatially.
  3. Finally, produce global distribution maps of this variable for all PFTs
I am wondering: What is the most efficient way to output patch-level variables by PFT in CLM5? If I want the final product to be a global map of the variable separated by PFTs, should I do this at the model output stage, or is it better to postprocess patch-level outputs into PFT-specific distributions?

Any guidance, example scripts, or references would be greatly appreciated.
Thanks in advance!
 
Top