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

About the Settings for Reading Atmospheric CO₂ Concentration and ch4 Concentration

lucia

luyaohuang
Member
Hello everyone, I have a question I'd like to ask. I am currently running the CLM model to simulate regional methane fluxes. However, the atmospheric methane concentration is currently set as a fixed parameter. I would like to input dynamic atmospheric methane concentrations, similar to how CO₂ and nitrogen deposition are handled. So, I created a stream file for methane, following the same approach as CO₂. In all the source code sections that involve CO₂, I added similar settings for methane. In the generated log file, I can see that the methane file was successfully opened. However, when I printed out the methane concentration after reading it, the output value was zero. I realized that the methane data might not have actually been read. I'm not sure where the issue lies. I have tried multiple times to locate the error but haven't been able to find it. I would really like to understand why this is happening. If anyone could share the relevant settings for CO₂ or nitrogen deposition, I would greatly appreciate !
 

Attachments

  • atmlog2.png
    atmlog2.png
    38.3 KB · Views: 2
  • cesmlog.png
    cesmlog.png
    46.5 KB · Views: 2
  • cesmlog2.png
    cesmlog2.png
    21.8 KB · Views: 2
  • ch4_atmlog.png
    ch4_atmlog.png
    76.1 KB · Views: 2

oleson

Keith Oleson
CSEG and Liaisons
Staff member
Your approach of following the example of CO2 seems logical. Unfortunately, I can't think of anything specific that would fix your problem, others are welcome to chime in of course.
 
Vote Upvote 0 Downvote

lucia

luyaohuang
Member
Thank you very much for your reply, Keith. I previously didn't set the corresponding methane variables correctly in avofld and avifld, but now I have successfully resolved the issue.
 
Vote Upvote 0 Downvote
Top