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

Can the AMWG diagnostics script be run on timeseries format data?

strandwg

Moderator
Staff member
It's been so long I don't recall if the AMWG diagnostics can be run on timeseries format CAM data, or if it can only use history files.

Thanks!
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
Hi Gary,

I had to look around as it is not the way I usually run it.

The cesm postprocessing tool
/glade/p/cesm/postprocessing
has flag ATMDIAG_TEST_TIMESERIES.

By default it is set to False but if you set:
ATMDIAG_TEST_TIMESERIES=True
you can run the diags from timeseries.

I just did a test with CAM output and it seems to work. I assume it would work for the other components although I didn't test that.
 

strandwg

Moderator
Staff member
Hi Gary,

I had to look around as it is not the way I usually run it.

The cesm postprocessing tool
/glade/p/cesm/postprocessing
has flag ATMDIAG_TEST_TIMESERIES.

By default it is set to False but if you set:
ATMDIAG_TEST_TIMESERIES=True
you can run the diags from timeseries.

I just did a test with CAM output and it seems to work. I assume it would work for the other components although I didn't test that.

Sweet! Thanks, Ceçile!

Can you point me to your test script?
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
This is how I compute the climos from the timeseries.
I copied timeseries in: /glade/scratch/hannay/timeseries/$CASE/
to test whether this was working.

setenv POSTPROCESS_PATH /glade/p/cesm/postprocessing
cesm_pp_activate

set CASE = b.e21.BRCP85.f09_g17.cesm2-cmip5.001
create_postprocess --caseroot /glade/work/hannay/cesm-postprocess/$CASE

cd /glade/work/hannay/cesm-postprocess/$CASE
./pp_config --set DOUT_S_ROOT=/glade/scratch/hannay/timeseries/$CASE/
./pp_config --set ATM_GRID=0.9x1.25
./pp_config --set ATMDIAG_OUTPUT_ROOT_PATH=/glade/scratch/hannay/diagnostics-output/atm
./pp_config --set ATMDIAG_test_first_yr=2081
./pp_config --set ATMDIAG_test_nyrs=20

qsub < ./atm_averages
 

strandwg

Moderator
Staff member
Thanks, Cecile!

You must have some directories in your PATH that I don't - could you do

prompt> env | egrep "^PATH="

Thanks!
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
env | egrep "^PATH="

PATH=/glade/u/apps/contrib/virtualenv/12.0.7:glade/apps/contrib/virtualenv/12.0.7:/glade/u/apps/ch/opt/xxdiff/4.0.1/gnu/8.3.0/bin:/glade/u/apps/ch/opt/ncl/6.6.2/intel/19.0.5/bin:/glade/u/apps/ch/opt/python/3.7.9/gnu/9.1.0/bin:/glade/u/apps/ch/opt/nco/4.9.5/gnu/9.1.0/bin:/glade/u/apps/ch/opt/ncview/2.1.7/gnu/8.3.0/bin:/glade/u/apps/ch/opt/lmod/8.1.7/bin:/ncar/opt/slurm/latest/bin:/glade/u/apps/ch/opt/netcdf/4.7.4/intel/19.0.5/bin:/glade/u/apps/ch/opt/ncarcompilers/0.5.0/intel/19.0.5/mpi:/glade/u/apps/ch/opt/mpt/2.22/bin:/glade/u/apps/ch/opt/ncarcompilers/0.5.0/intel/19.0.5:/glade/u/apps/opt/intel/2019u5/vtune_amplifier/bin64:/glade/u/apps/opt/intel/2019u5/inspector/bin64:/glade/u/apps/opt/intel/2019u5/advisor/bin64:/glade/u/apps/opt/intel/2019u5/compilers_and_libraries/linux/bin/intel64:/glade/u/apps/opt/vncmgr:/glade/u/apps/opt/globus-utils:/glade/u/apps/ch/opt/usr/bin:/glade/u/home/hannay/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin/X11:/usr/games:/opt/ibutils/bin:/usr/lib/mit/bin:/glade/u/apps/opt/hpss/hpss-client.5.0.2.p5/bin:/glade/u/apps/ch/os/usr/bin:/glade/u/apps/ch/opt/hpe-cpe/1.4.1/bin:/opt/pbs/bin
 
Top