You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way the the name_in_html string is generated in run_C-ESM-EP.py is a bit complicated and was not working as expected in my case, because I'm using the following in the component/diagnostics_*.py files
We should probably talk about this. I have changed my version of the code to only use the component string, i.e the name of the component directory
# content.splitlines()
# module_title = None
# for tmpline in content.splitlines():
# if 'atlas_head_title' in str.split(tmpline, '=')[0]:
# if '"' in tmpline:
# sep = '"'
# if "'" in tmpline:
# sep = "'"
# module_title = str.split(tmpline, sep)[1]
# if module_title:
# name_in_html = module_title
# else:
# name_in_html = component
name_in_html = component.replace('_', ' ')
So, if I have a PMIP4_0k_ref_allcomparison directory with the Atmosphere_Surface_IPSL-CM6A-LR Atmosphere_Surface_CESM2 Atmosphere_Surface_MPI-ESM1-2-LRcomponent sub-directories, I get this kind of html frontpage
The way the the
name_in_html
string is generated inrun_C-ESM-EP.py
is a bit complicated and was not working as expected in my case, because I'm using the following in thecomponent/diagnostics_*.py
filesatlas_head_title = "Atmosphere Surface " + extra_head_title
We should probably talk about this. I have changed my version of the code to only use the
component
string, i.e the name of the component directorySo, if I have a
PMIP4_0k_ref_all
comparison directory with theAtmosphere_Surface_IPSL-CM6A-LR Atmosphere_Surface_CESM2 Atmosphere_Surface_MPI-ESM1-2-LR
component sub-directories, I get this kind of html frontpageThe text was updated successfully, but these errors were encountered: