From 1898310e7b7cca0e4e2a0728dbbdff2786c2171f Mon Sep 17 00:00:00 2001 From: Katherine Lukens Date: Fri, 22 Nov 2024 19:41:52 +0000 Subject: [PATCH] Updated user input text --- .../index_vrfy_marine.html | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/utils/soca/fig_gallery/marine_vrfy_display/index_vrfy_marine.html b/utils/soca/fig_gallery/marine_vrfy_display/index_vrfy_marine.html index 9cb9d35ff..7ba4f8dd6 100644 --- a/utils/soca/fig_gallery/marine_vrfy_display/index_vrfy_marine.html +++ b/utils/soca/fig_gallery/marine_vrfy_display/index_vrfy_marine.html @@ -399,11 +399,20 @@

GFS
Experiment
Verification

Marine Figures

-

Add path to the main verification directory:

+

Add path to main verification directory:

- - + + +
+

Are the figures in your COMROOT or from HPSS? For example:

+ If COMROOT, the main path should include everything before /gdas.YearMonthDay directories. +
+ If HPSS, the main path should include everything before /YearMonthDayHour directories. +
+ + +

Choose a date and cycle time:

@@ -464,13 +473,13 @@

Choose a date and cycle time:

var month = document.getElementById('inputMonth').value; var day = document.getElementById('inputDay').value; var hour = document.getElementById('inputHour').value; - var vrfyMain = document.getElementById('inputVrfyPath').value; - //console.log("year = ",year); - //console.log("month = ",month); - //console.log("day = ",day); - //console.log("hour = ",hour); - var inputPath = vrfyMain+"/"+year+month+day+hour+"/gdas."+year+month+day+"/"+hour+"/analysis/ocean/vrfy/"; - //console.log("inputPath = ",inputPath); + var pathMain = document.getElementById('inputMainPath').value; + var pathChoice = document.getElementById('inputPathChoice').value; + if (pathChoice == 'HPSS') { + var inputPath = pathMain+"/"+year+month+day+hour+"/gdas."+year+month+day+"/"+hour+"/analysis/ocean/vrfy/"; + } else if (pathChoice == 'COMROOT') { + var inputPath = pathMain+"/gdas."+year+month+day+"/"+hour+"/analysis/ocean/vrfy/"; + } function showImagesBkgErrInc(figtype, variable, domain) { thisFigType = figtype;