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

output of zmflxprc

Dear CAM user,
I am facing the following problem while storing the field name "ZMFLXPRC" in the history file. I have done the following in the namelist :
FINCL1 = "zmflxprc", "zmntprpd"
FINCL2 = "zmflxprc", "zmntprpd"

"ZMNTPRPD" is getting stored but "ZMFLXPRC" is not stored.

Also I have noticed that, other variables with 27 levels are not getting stored.

If any body can help in this regard it will be a great help.

Thanks
Saroj
 

rneale

Rich Neale
CAM Project Scientist
Staff member
To be on the safe side I would make sure your entries into the FINCL variables are capitilized . I am not sure what the problem is exactly. Make sure the lines which contain 'addfld' and 'outfld' are present in the zm_conv.F90 routine (I presume you are using cam3.0 code) for both the variables. Also there is an 'add_default' command which outputs variables automatically so you don't have to have the 'fincl' entries in the namelist. This may be present for one variable and not for another.
 
Dear Neale,
Thanks for your help. I have checked the points you mentioned and found that, these are not the problems. If you think there might be any other reason kindly suggest.

Thanks and regards,
Saroj
 

bundy

New Member
In version cam3_1, the addfld call in
models/atm/cam/src/physics/cam1/convect_deep.F90
looks correct for a 27 level (pverp) field. (Older versions of the code might have the addfld call in zm_conv.F90). So that doesn't seem to be the problem.

Perhaps your answers to these questions will point in the right direction:

When you say the ZMFLXPRC field is not stored, do you mean:
- the model stops on an error when writing out the field
- the field is not present, even by name, in the history file
- the variable is present in the history file but has unexpected values
or ?

If you add the field to the history file using add_default in the code instead of the namelist fincl, does it behave differently?

When you say that 'other 27 level fields are not getting stored', do you
mean there are no fields on the history file with more than 26 levels, or just a few other fields you've tried? If the latter, which fields did you try?
Is CMFMC present on the cam2.h0 history file? (This is the only field with 27 levels written by default on a history file I looked at)
float CMFMC(time, ilev, lat, lon) ;

Finally, what version of cam are you using?
 
Ans : The variable is present in the history file but has constant field value.


Ans: I did not check by using add_default in the code.


Ans:I have checked with all the variables with 27 levels and it is found that all are present in the history file but has constant field value(zero).

Ans : I have checked "CMFMC" also and found it simiar(constant field value as zero)

Ans: I am using CAM3.0


Thanks for your help
Saroj
 
Top