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

Questions with FHIST & FWHIST configure.

zylin

yulinzhang
New Member
Hello Masters:
I've run CESM2.1.3 for a period time.But I have some questions which is still not soluted.
1.When I run the case with the compset named "FHIST".I couldn't found the variables such as AODBCdn,AODPOMdn,AODVISdn,AODSOAdn...etc.Then I change my namelist in cime/case/user_nl_cam(As shown in the figure below) .But the cesm could not run correctly.So the first question is how can I make the CAM output the variables which I want.
1717120780794.png
2.When I run the case with the compset named "FHIST".I found it was much different with the outcome that I use the bottom of the viriable "bc_a1"&"bc_a4" to draw,another I use the variable "bc_a1_SRF"&"bc_a4_SRF"(as shown in the figures below).And it is also same as I use the single corresponding variable above.
1717121347104.png
1717121361776.png
So,how can I solute the problem?
3.When I run the case wiht the compset named "FWHIST".The outcomes are lack of the viriables of "bc_a1_SRF","bc_a4_SRF"...etc.Meanwhile,the distribution and the magnitude of bc concentration was different with the literatures,but other variables are almost same as the literatures shown.So how can I add the variables which will be in the output data.And why this occurs that the wrong bc concentration.
Thanks a lot!
Yulin,31th May 2024.
 

peverley

Courtney Peverley
Moderator
Staff member
Hi Yulin,

I'll start by answering #1 and we can go from there!

The history configuration you are setting up in your example will lead to the following output on the "*.cam.h2.*" file in your run directory:

1. nhtfrq = 0, -24, -24, -24, -24, -24, -24, -24, -24, -,24, -24
- output every 24 hours - the nhtfrq namelist option allows you to output frequency per file, so the output frequency for history file h2 (controlled by fincl3, which you are using) corresponds to index 3 of the array - more on nhtfrq: https://www2.cesm.ucar.edu/models/cesm1.0/cesm/cesm_doc_1_0_4/x2602.html

2. mfilt = 1, 30, 30, 30, 30, 30, 30, 30, 30, 30
- similar to nhtfrq, this is also an array where each index corresponds to the history file that you're trying to configure (not the history field), so each h2 file
will have 30 samples

3. avgflag_pertape = 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'I'
- this is also an array where each index represents the configuration for a history file - since the third index (for h2) is 'A', h2 file's fields will be averaged
over the time period

My guess is that you're trying to get daily averaged output for these fields: AODBCdn, AODdnDUST1, AODdnDUST3, AODPOMdn, AODSO4dn, AODSOAdn, AODVISdn

And daily instantaneous output for: AODVISstdn

If that's what you want, you'll want to update your user_nl_cam to:

avgflag_pertape = 'A', 'A', 'A'
nhtfrq = 0, -24, -24
mfilt = 1, 30, 30
fincl3 = 'AODBCdn', 'AODdnDUST1', 'AODdnDUST3', 'AODPOMdn', 'AODSO4dn', 'AODSOAdn', 'AODVISdn', 'AODVISstdn:I'

If you still get errors, please let me know what the error is specifically. I hope that at least some of your other issues will also be resolved by correcting your user_nl_cam history usage.

Hope that helps!
Courtney
 

zylin

yulinzhang
New Member
Hi Yulin,嗨,玉林,

I'll start by answering #1 and we can go from there!
我将从回答#1开始,我们可以从那里开始!

The history configuration you are setting up in your example will lead to the following output on the "*.cam.h2.*" file in your run directory:
您在示例中设置的历史记录配置将在“*.cam.h2.*”上产生以下输出“运行目录中的文件:

1. nhtfrq = 0, -24, -24, -24, -24, -24, -24, -24, -24, -,24, -24
1. 24,—24,—24,—24,—24,—24,—24,—24
- output every 24 hours - the nhtfrq namelist option allows you to output frequency per file, so the output frequency for history file h2 (controlled by fincl3, which you are using) corresponds to index 3 of the array - more on nhtfrq: https://www2.cesm.ucar.edu/models/cesm1.0/cesm/cesm_doc_1_0_4/x2602.html
- 输出每24小时-nhtfrq命名选项允许您输出每个文件的频率,因此历史文件h2的输出频率(由fincl 3控制, 您正在使用的)对应于数组的索引3-更多关于nhtfrq:https://www2.cesm.ucar.edu/models/cesm1.0/cesm/cesm_doc_1_0_4/x2602.html

2. mfilt = 1, 30, 30, 30, 30, 30, 30, 30, 30, 30
2. mfilt = 1,30,30,30,30,30,30,30,30,30
- similar to nhtfrq, this is also an array where each index corresponds to the history file that you're trying to configure (not the history field), so each h2 file
- 与nhtfrq类似,这也是一个数组,其中每个索引对应于您尝试配置的历史文件(而不是历史字段),因此每个h2文件
will have 30 samples会有30个样本

3. avgflag_pertape = 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'A', 'I'
3. avgflag_pertape = 'A',' A','A',' A','A',' A','A',' A','I'
- this is also an array where each index represents the configuration for a history file - since the third index (for h2) is 'A', h2 file's fields will be averaged
- 这也是一个数组,其中每个索引表示历史文件的配置-由于第三个索引(对于h2)是“A”,因此h2文件的字段将被平均
over the time period在该时间段内

My guess is that you're trying to get daily averaged output for these fields: AODBCdn, AODdnDUST1, AODdnDUST3, AODPOMdn, AODSO4dn, AODSOAdn, AODVISdn
我猜您正在尝试获取以下字段的日平均输出:AODBCdn、AODdnDUST1、AODdnDUST3、AODPOMdn、AODSO4dn、AODSOAdn、AODVISdn

And daily instantaneous output for: AODVISstdn
和每日瞬时输出:AODVISstdn

If that's what you want, you'll want to update your user_nl_cam to:
如果这是你想要的,你需要更新你的user_nl_cam:



If you still get errors, please let me know what the error is specifically. I hope that at least some of your other issues will also be resolved by correcting your user_nl_cam history usage.
如果你仍然得到错误,请让我知道具体是什么错误。我希望通过更正user_nl_cam的历史使用情况,至少可以解决您的一些其他问题。

Hope that helps!希望能帮上忙!
Courtney考特尼
Thanks for your answer.My problem has been solved.
 
Top