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
I very often forget the URL of a comparison I want to have a look at, and I follow the instructions (by memory) of Just get the url in order to print the URL.
Unfortunately, instead of typing for example A) python run_C-ESM-EP.py PMIP4_6kf3_ref url
I often scroll back in my history and just add url at the end of the command (it's a stupid stupid mistake, but I have done it several times), for example B) python run_C-ESM-EP.py PMIP4_6kf3_ref MainTimeSeries url
'B' case (when I do this stupid stupid mistake)
In the B case, I end up starting the full comparison again, instead of just getting the URL!
I can of course kill everything with qstat -u my_login| grep my_login | awk '{print $1}' | xargs qdel
but if I do that, I end up with a comparison main page where all the links will point to xxx is running... (comparison: PMIP4_6kf3_ref), even for finished comparisons
Would it be possible for run_C-ESM-EP.py to just ignore all the parameters (except url) after the comparison directory name, if url is one of the options, and just print the url?
'A' case (what the user is supposed to do)
In that case, I do get the URL I'm looking for, but run_C-ESM-EP.py will still print lots of things I don't need before the URL and the storage directory, for example
[jypmce@ciclad-ng C-ESM-EP]$ python run_C-ESM-EP.py PMIP4_6kf3_ref url
Skipping component Atmosphere_Surface_180 which diagnostic file is not readable
-- component = MainTimeSeries
-> queue = h12
cd /home/jypmce/C-ESM-EP/PMIP4_6kf3_ref/MainTimeSeries ; jobID=$(qsub -m e -M [email protected] -q h12 -j eo -v component=MainTimeSeries,comparison=PMIP4_6kf3_ref,WD=${PWD},cesmep_frontpage=https://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/jypmce/C-ESM-EP/PMIP4_6kf3_ref_jypmce/C-ESM-EP_PMIP4_6kf3_ref.html -N MainTimeSeries_PMIP4_6kf3_ref_C-ESM-EP ../job_C-ESM-EP.sh) ; qsub -W "depend=afternotok:$jobID" -v atlas_pathfilename=/prodigfs/ipslfs/dods/jypmce//C-ESM-EP/PMIP4_6kf3_ref_jypmce/MainTimeSeries/atlas_MainTimeSeries_PMIP4_6kf3_ref.html,WD=${PWD},component=MainTimeSeries,comparison=PMIP4_6kf3_ref ../../share/fp_template/copy_html_error_page.sh ; cd -
-- component = Atmosphere_Surface
-> queue = h12
[... A LOT of stuff]
-- The CliMAF ESM Evaluation Platform atlas is available here:
--
-- https://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/jypmce/C-ESM-EP/PMIP4_6kf3_ref_jypmce/C-ESM-EP_PMIP4_6kf3_ref.html
--
--
-- The html file is here:
-- /prodigfs/ipslfs/dods/jypmce/C-ESM-EP/PMIP4_6kf3_ref_jypmce/C-ESM-EP_PMIP4_6kf3_ref.html
Would it be possible for run_C-ESM-EP.py to be less verbose in the url case?
Or it may be easier and make more sense to make a new script that would just print the URL and the matching directory, for example python get_C-ESM-EP_url.py PMIP4_6kf3_ref
The text was updated successfully, but these errors were encountered:
I very often forget the URL of a comparison I want to have a look at, and I follow the instructions (by memory) of Just get the url in order to print the URL.
Unfortunately, instead of typing for example
A) python run_C-ESM-EP.py PMIP4_6kf3_ref url
I often scroll back in my history and just add
url
at the end of the command (it's a stupid stupid mistake, but I have done it several times), for exampleB) python run_C-ESM-EP.py PMIP4_6kf3_ref MainTimeSeries url
'B' case (when I do this stupid stupid mistake)
In the B case, I end up starting the full comparison again, instead of just getting the URL!
I can of course kill everything with
qstat -u my_login| grep my_login | awk '{print $1}' | xargs qdel
but if I do that, I end up with a comparison main page where all the links will point to
xxx is running... (comparison: PMIP4_6kf3_ref)
, even for finished comparisonsWould it be possible for
run_C-ESM-EP.py
to just ignore all the parameters (excepturl
) after the comparison directory name, ifurl
is one of the options, and just print the url?'A' case (what the user is supposed to do)
In that case, I do get the URL I'm looking for, but
run_C-ESM-EP.py
will still print lots of things I don't need before the URL and the storage directory, for exampleWould it be possible for
run_C-ESM-EP.py
to be less verbose in theurl
case?Or it may be easier and make more sense to make a new script that would just print the URL and the matching directory, for example
python get_C-ESM-EP_url.py PMIP4_6kf3_ref
The text was updated successfully, but these errors were encountered: