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

zonal moisture transport

I just found out that my question was already answered in the manual.
It appears that adding the following three lines in diagnostics.F90 do the trick.

Line 118: call addfld ('UQ ','m/skg/kg',pver, 'A','Zonal water transport',phys_decomp)
Line 173: call add_default ('UQ ', 1, ' ')
Line 481: call outfld ('UQ ',ftem ,pcols ,lchnk )

Let me know if this is not the right way.

sang-ki
 
Actually, you need four lines, not three.

Line 118: call addfld ('UQ ','m/skg/kg',pver, 'A','Zonal water transport',phys_decomp)
Line 173: call add_default ('UQ ', 1, ' ')
Line 480: ftem(:ncol,:) = state%u(:ncol,:)*state%q(:ncol,:,1)
Line 481: call outfld ('UQ ',ftem ,pcols ,lchnk )
 
Hi

I prefer not to write out all the default variables from CAM3.0. I commented some of the outfld calls in history.F90 with no success. The program is crashing all over. Are all the defualt fields are mandatory for history files? Do anybody tried this before.

thanks alot,
bala
 
Yeah, I found in the user's guide that any default fields may be removed using namelist variable FEXCL1. But my question is I want to remove more than 6 fields (atleast 20). But I see only FEXCL1,......,FEXCL6 are possible, that means only 6. is there any way to remove more than 20 being written to history files?

thanks alot,
bala.
 

rneale

Rich Neale
CAM Project Scientist
Staff member
I think there is a little confusion here. The FEXCL variable applies to each CAM output stream. Therefore FEXCL1 applies to the first stream, which is by default the monthly mean output stream. So you can extract as many fields as you want (well up to 200) from the stream e.g. FEXCL = PRECT,PRTECC,PRECL as long as they're all comma separated.
 
Top