Skip to content

Commit

Permalink
Ref #157
Browse files Browse the repository at this point in the history
Make requested changes to default comparison assignments.
  • Loading branch information
EdwardSafford-NOAA committed Feb 5, 2025
1 parent 0254b6e commit 08f2a38
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions src/Radiance_Monitor/image_gen/html/install_glb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ echo ""
do_cmp=0
cmp_src_default="GDAS"
cmp_src=${cmp_src_default}
comp_source_value="gdas"
comp_source_name="Operational GDAS"


#--------------------------------------------------------------
Expand Down Expand Up @@ -309,7 +311,14 @@ if [[ $do_cmp == 1 ]]; then
sed -i "/var compSrc /c ${cmp_sc_line}" ${html_file}
sed -i "/var compName /c ${cmp_nm_line}" ${html_file}
sed -i "/var compHome /c ${cmp_hm_line}" ${html_file}

comp_source_value="${cmp_src}"
comp_source_name="Experimental $cmp_src"

fi

sed -i "s/COMP_SOURCE_VALUE/${comp_source_value}/" ${html_file}
sed -i "s/COMP_SOURCE_NAME/${comp_source_name}/" ${html_file}

done
fi
Expand Down
2 changes: 1 addition & 1 deletion src/Radiance_Monitor/image_gen/html/plot_summary.html.glb
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@
<table style="position:absolute;left:1px;top:80px;width:150px" id="compareTable">
<caption style="test-indent:2em"> <b>Compare With:</b> </caption>
<tr><td>
<input type="checkbox" id="ckboxCmp" name="ckboxCmp" value="gfs" onclick="boxCheck(this.value)"><label id="ckboxCompLbl" for="ckboxCmp">operational GDAS</label></input>
<input type="checkbox" id="ckboxCmp" name="ckboxCmp" value="COMP_SOURCE_VALUE" onclick="boxCheck(this.value)"> <label for="ckboxCmp">COMP_SOURCE_NAME</label></input>
</td></tr>
</table>
RM line to install OPTIONAL_COMPARE -->
Expand Down
2 changes: 1 addition & 1 deletion src/Radiance_Monitor/image_gen/html/plot_time.html.glb
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@
<table style="position:absolute;left:2px;top:150px;width:150px" id="compareTable">
<caption style="test-indent:2em"> <b>Compare With:</b> </caption>
<tr><td>
<input type="checkbox" id="ckboxCmp" name="ckboxCmp" value="gfs" onclick="boxCheck(this.value)"><label id="ckboxCompLbl" for="ckboxCmp">operational GDAS</label></input>
<input type="checkbox" id="ckboxCmp" name="ckboxCmp" value="COMP_SOURCE_VALUE" onclick="boxCheck(this.value)"><label for="ckboxCmp">COMP_SOURCE_NAME</label></input>
</td></tr>
</table>
RM line to install OPTIONAL_COMPARE -->
Expand Down
2 changes: 1 addition & 1 deletion src/Radiance_Monitor/image_gen/html/plot_time.html.rgn
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@
<table style="position:absolute;left:2px;top:150px;width:150px" id="compareTable">
<caption style="test-indent:2em"> <b>Compare With:</b> </caption>
<tr><td>
<input type="checkbox" id="ckboxCmp" name="ckboxCmp" value="nam" onclick="boxCheck(this.value)"><label for="ckboxCmp">Operational NAM</label></input>
<input type="checkbox" id="ckboxCmp" name="ckboxCmp" value="COMP_SOURCE_VALUE" onclick="boxCheck(this.value)"><label for="ckboxCmp">COMP_SOURCE_NAME</label></input>
</td></tr>
</table>

Expand Down

0 comments on commit 08f2a38

Please sign in to comment.