Skip to content
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #14 from wtollett-usgs/master
Browse files Browse the repository at this point in the history
Added channel count to export header lines
  • Loading branch information
wtollett-usgs authored May 18, 2018
2 parents 1f41d3e + 4faedbb commit c85a37d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Valve3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>gov.usgs.volcanoes</groupId>
<artifactId>valve</artifactId>
<version>3.6.1</version>
<version>3.6.2</version>
</parent>
<artifactId>valve3</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ else if ( !fn_source.equals(source) )
cmtBits.put( "st", String.format( "%14.3f", component.getStartTime(endtime) ) );
cmtBits.put( "et", String.format( "%14.3f", endtime ) );
cmtBits.put( "source", fn_source );
cmtBits.put( "chCnt", StringUtils.stringToString(request.getParameter("chCnt.0"), "None"));
String outputType = component.get( "o" );
fn = df.format(now) + "_"
+ fn_source.replaceAll( "-", "_") + "_"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,8 @@ public String toExport(PlotComponent comp, Map<String, String> cmtBits, OutputSt
cmtLines.add("reqtime=" + cmtBits.get("reqtime"));
cmtLines.add("URL=" + cmtBits.get("URL"));
cmtLines.add("source=" + cmtBits.get("source"));
cmtLines.add("st=" + cmtBits.get("st") + ", et=" + cmtBits.get("et"));
cmtLines.add("st=" + cmtBits.get("st") + ", et="
+ cmtBits.get("et") + ", chCnt=" + cmtBits.get("chCnt"));
rank = cmtBits.get("rank");
rowTimeZone = cmtBits.get("timezone");
}
Expand Down
4 changes: 2 additions & 2 deletions Valve3Web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>gov.usgs.volcanoes</groupId>
<artifactId>valve</artifactId>
<version>3.6.1</version>
<version>3.6.2</version>
</parent>
<artifactId>valve3web</artifactId>
<packaging>war</packaging>
Expand Down Expand Up @@ -58,7 +58,7 @@
<dependency>
<groupId>gov.usgs.volcanoes</groupId>
<artifactId>valve3</artifactId>
<version>3.6.1</version>
<version>3.6.2</version>
<exclusions>
<exclusion>
<groupId>gov.usgs.volcanoes</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>gov.usgs.volcanoes</groupId>
<artifactId>valve</artifactId>
<version>3.6.1</version>
<version>3.6.2</version>
<packaging>pom</packaging>

<name>valve</name>
Expand Down

0 comments on commit c85a37d

Please sign in to comment.