NCAR / ADF

A unified collection of python scripts used to generate standard plots from CAM outputs.
Creative Commons Attribution 4.0 International
36 stars 30 forks source link

Webpage does not generate hyperlinks to species #304

Open shawnusaf opened 6 months ago

shawnusaf commented 6 months ago

ADF run type

Model vs. Model

What happened?

Species added to be plotted do not have hyperlinks on the 'meandiag*.html files. The individual html files are created, they just don't get linked on the jump mean_diag.html page(s). See https://acomstaff.acom.ucar.edu/shawnh/ADF/CASE_DIAG/f.cam6_3_153.FCMTnudged_ne30.001_1995_2003_vs_f.cam6_3_153.FCMTnudged_climate_chemistry_ne30.001_1995_2003/website/index.html and on glade:/glade/derecho/scratch/shawnh/ADF/plots/f.cam6_3_153.FCMTnudged_ne30.001_1995_2003_vs_f.cam6_3_153.FCMTnudged_climate_chemistry_ne30.001_1995_2003/website/html_img.

ADF Hash you are using

7af78e7

What machine were you running the ADF on?

CISL machine

What python environment were you using?

NPL (CISL machines only)

Extra info

No response

justin-richling commented 6 months ago

Hi @shawnusaf, were the species included in the config yaml file under diag_var_list?

shawnusaf commented 6 months ago

Hi Justin,

Yes. It almost seems as though it is including the first few after the default set of variables (SWCF, LANDFRAC, FLNT, FSNT, etc) in diag_var_list, but none of the others (I am in the process of putting together a set of chemistry variables for plotting). I might be able to verify that suspicion by changing the first few of the ones I put in and see if those show up. Maybe there is currently some sort of limit on the number hyperlinks that the page will include?

-Shawn

On Thu, May 23, 2024 at 4:56 PM justin-richling @.***> wrote:

Hi @shawnusaf https://github.com/shawnusaf, were the species included in the config yaml file under diag_var_list?

— Reply to this email directly, view it on GitHub https://github.com/NCAR/ADF/issues/304#issuecomment-2128004523, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUIO2OS7NHZEAFRAIXRO76LZDZJYXAVCNFSM6AAAAABH2MYKRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRYGAYDINJSGM . You are receiving this because you were mentioned.Message ID: @.***>

justin-richling commented 6 months ago

@shawnusaf that would be very interesting behavior, take a look at it and update me. Another gotcha (that I need to fix) is that if you run the ADF once, and then again, for example adding more variables, it's possible the html pages don't get updated because we have it look for them and not remake them if found. This always comes back to bite us and needs to be changed, but I'm curious if you know if you ran this ADF run more than once?

shawnusaf commented 6 months ago

Hi Justin,

Ahh, not remaking the page when rerunning is a good point. That may very well be the issue. I will delete the html directory before doing the next rerun and see if that solves the problem.

-Shawn

On Fri, May 24, 2024 at 10:26 AM justin-richling @.***> wrote:

@shawnusaf https://github.com/shawnusaf that would be very interesting behavior, take a look at it and update me. Another gotcha (that I need to fix) is that if you run the ADF once, and then again, for example adding more variables, it's possible the html pages don't get updated because we have it look for them and not remake them if found. This always comes back to bite us and needs to be changed, but I'm curious if you know if you ran this ADF run more than once?

— Reply to this email directly, view it on GitHub https://github.com/NCAR/ADF/issues/304#issuecomment-2129663218, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUIO2OXWZHDJN5THXSJEHADZD5E2PAVCNFSM6AAAAABH2MYKRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRZGY3DGMRRHA . You are receiving this because you were mentioned.Message ID: @.***>

justin-richling commented 6 months ago

Great, hopefully that's what it is, let me know either way.