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

looking to verify model change was realized

jzweifel

jzweifel
Member
Hello CESM-Forums team!

I am posting with a quick question that I'm failing to answer myself.

I've made my first successful change in my user_nl_cam by adding my own altered aerosol emission file as seen below:

! Users should add all user specific namelist changes below in the form of
! namelist_var = new_namelist_value

&chem_inparm
srf_emis_specifier = 'num_a2 -> /glade/work/jzweifel/cases/control_F2000/aerosol_blob_dated.nc'
/

I now want to verify that the change I made was realized in my model results. To do this I thought to compare two history files; one from before the change in my control, and one from after implementing this change. For reference, these were the two files I thought to compare:

experiment: control_F2000.cam.h0.0051-01.nc

control_history: control_F2000.cam.h0.0050-12.nc


What would be the best method to do this? I first tried to use ncview and just graphically analyze the changes, but that seemed a little difficult (but maybe it is just the best way to do this). My advisor suggested I use ncdiff, but that doesn't look like its a module available to download on my account on derecho.

Any thoughts on how to best go about this? If so, let me know how best to help you help me!

Thanks,

Jack Zweifel
 

strandwg

Moderator
Staff member
Hello CESM-Forums team!

I am posting with a quick question that I'm failing to answer myself.

I've made my first successful change in my user_nl_cam by adding my own altered aerosol emission file as seen below:

! Users should add all user specific namelist changes below in the form of
! namelist_var = new_namelist_value

&chem_inparm

srf_emis_specifier = 'num_a2 -> /glade/work/jzweifel/cases/control_F2000/aerosol_blob_dated.nc'
/

I now want to verify that the change I made was realized in my model results. To do this I thought to compare two history files; one from before the change in my control, and one from after implementing this change. For reference, these were the two files I thought to compare:

experiment: control_F2000.cam.h0.0051-01.nc

control_history: control_F2000.cam.h0.0050-12.nc


What would be the best method to do this? I first tried to use ncview and just graphically analyze the changes, but that seemed a little difficult (but maybe it is just the best way to do this). My advisor suggested I use ncdiff, but that doesn't look like its a module available to download on my account on derecho.

Any thoughts on how to best go about this? If so, let me know how best to help you help me!

Thanks,

Jack Zweifel

Try the following on derecho:

derecho3:/glade/u/home/strandwg> module load nco
derecho3:/glade/u/home/strandwg> which ncdiff
/glade/u/apps/derecho/23.06/spack/opt/spack/nco/5.1.4/gcc/12.2.0/mspz/bin/ncdiff
 

jzweifel

jzweifel
Member
Yes, I discovered 'ncdiff' is in the 'nco' module about an hour ago, so after having downloaded that I can now use it!

Now that I want to use it though I have another question.

It occurs to me I should use some formant like this:

ncdiff -v variable_name file1.nc file2.nc diff.nc
My question then is, what variable name should I use? This has been a bit of a tricky thing for me to figure out because the emission variable names are not all one word or joined by underscores. Rather I can see in my cam.input_data_list that my change to my model points like this:

srf_emis_specifier for num_a2 = .......
I tried to put the variable_name to srf_emis_specifier as seen above and was getting an error about too many arguments being present (i'm guessing because the variable name is not conjoined)

Any ideas of how to go forward would be appreciated!
 

nusbaume

Jesse Nusbaumer
CSEG and Liaisons
Staff member
Just letting anyone who comes across this post know that it appears this second question has been answered here:


Have a great day!

Jesse
 

jzweifel

jzweifel
Member
Hi everyone,

I appreciate all your responses!

I'm now trying to use GEOV from the IDL package to compare the output of two timesteps in a model run where I increased surface emissions of SO4 over the East coast of the U.S. (as referenced above in my original post).

The image below was a side by side comparison of the last April before I implemented my change, and the first April after I implemented my change. To me it looks like now the model is seeing less so4_a2 at the surface instead of more? (be aware the scales are different).

Am I looking at the correct variable to try and verify this change or should I look at something else besides so4_a2_SRF? There are many variables so I've gotten a bit lost in it all.

I guess I'm just looking for some guidance on how to see that my model change of increased so4 a2 surface emissions actually did increase the output in the model.. (instead of it seemingly doing the opposite!)

Any help or comments or suggestions would be great!

Thanks all! :)



so4_a2_SRF.PNG
 
Top