-
Notifications
You must be signed in to change notification settings - Fork 0
Description
My colleague Gautam Bisht (who is the PI of the BER SciDAC-5 river dycore project and a co-lead of E3SM's land group) expressed interest in using QuickView to inspect data files related to the E3SM land model, ELM. After some initial discussions, the two of us thought the first (and very helpful) step would be to update the Reader in QuickView so that it can parse ELM data files that are using the ne*pg2 meshes which QuickView is already supporting for EAM. Gautam provided two data files on the ne4pg2 mesh, both of which can be found through NERSC's web portal:
SMS_Lm1.ne4pg2_ne4pg2.IELM.pm-cpu_intel.20250929_150033_ww4ivg.elm.h0.0001-01.ncis a simulation output file (history file) from ELM.surfdata_ne4pg2_simyr2000_c190620_with_TOP.nc, if I understood correctly, is an input file for ELM simulations.
After some trial and error, I was able to use QuickView to show some of the variables in the output file SMS_Lm1.ne4pg2_ne4pg2.IELM.pm-cpu_intel.20250929_150033_ww4ivg.elm.h0.0001-01.nc after playing two tricks:
- Rename the dimension
lndgridtoncol. - Add EAM's vertical coordinate variables
levandilev.
The script I used (kludge.bash), EAM's vertical coordinate variable data (lev_ilev_L80.nc), the revised ELM output file (test_elm_ncol_lev_ilev.h0.0001-01.nc), and the ne4pg2 connectivity file can be found here.
This exercise made me realize not only that QuickView is hardwired to the dimension name ncol, but also (1) it currently only visualizes arrays with a time dimension, and (2) it requires lev or ilev to be present in the data file. In order to make QuickView more general/flexible and hence support ELM as well as a larger variety of files and variables related to EAM, I would like to propose two changes: one for the Reader, and one for the UI, as detailed below.