Main menu

Navigation

zonal moisture transport

7 posts / 0 new
Last post
sang-ki.lee@...
zonal moisture transport

Hi.

Is there a simple way to archive "zonal moisture transport (uq)" into a
history data file?

Thanks

Sang-ki

Dr. Sang-Ki Lee
NOAA/AOML
4301 Rickenbacker Causeway Miami,
FL 33149 USA
Tel) 305-361-4521
Fax) 305-361-4412
E-mail) eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%73%61%6e%67%2d%6b%69%2e%6c%65%65%40%6e%6f%61%61%2e%67%6f%76%22%3e%73%61%6e%67%2d%6b%69%2e%6c%65%65%40%6e%6f%61%61%2e%67%6f%76%3c%2f%61%3e%27%29%3b'))

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

Dr. Sang-Ki Lee
NOAA/AOML
4301 Rickenbacker Causeway Miami,
FL 33149 USA
Tel) 305-361-4521
Fax) 305-361-4412
E-mail) eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%73%61%6e%67%2d%6b%69%2e%6c%65%65%40%6e%6f%61%61%2e%67%6f%76%22%3e%73%61%6e%67%2d%6b%69%2e%6c%65%65%40%6e%6f%61%61%2e%67%6f%76%3c%2f%61%3e%27%29%3b'))

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 )

Dr. Sang-Ki Lee
NOAA/AOML
4301 Rickenbacker Causeway Miami,
FL 33149 USA
Tel) 305-361-4521
Fax) 305-361-4412
E-mail) eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%73%61%6e%67%2d%6b%69%2e%6c%65%65%40%6e%6f%61%61%2e%67%6f%76%22%3e%73%61%6e%67%2d%6b%69%2e%6c%65%65%40%6e%6f%61%61%2e%67%6f%76%3c%2f%61%3e%27%29%3b'))

bnarapus@...

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

bnarapus@...

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

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.

Richard Neale CESM AMWG Co-chair eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%72%6e%65%61%6c%65%40%75%63%61%72%2e%65%64%75%22%20%63%6c%61%73%73%3d%22%62%62%2d%65%6d%61%69%6c%22%3e%72%6e%65%61%6c%65%40%75%63%61%72%2e%65%64%75%3c%2f%61%3e%27%29%3b')) http://www.cgd.ucar.edu/cms/rneale Atmosphere Modeling and Predictability Section, AMP, NCAR Tel (303) 497-1380 Fax (303) 497-1324

wangh.11s@...

I'm using 1850_cam4. I did the same thing(added the four lines in the file cam_diagnostic. F90), but it didn't work. Have you solved your problem?

Log in or register to post comments

Who's new

  • Nicholas.Davis@...
  • numarsanifa@...
  • bingdian_46@...
  • mxy2832029@...
  • nthg2000@...