New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
efforts for using the job id for various utility functions #328
Merged
Merged
Changes from 8 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
c746a5b
for #236
86983a4
WIP in result from char
8cc0284
Merge branch 'master' of github.com:jread-usgs/geoknife
4dc94f7
completed result example xml
0b58713
some progress on result(id)
eca9b97
char signatures for helper functions
60b978e
adding char methods for utility functions
04cc6da
new patch version updates for result/download/check/utils
e99cd31
adding wait method for job ID
cdcd3a0
running signatures
ad6e5b7
fix for s4 methods
b497cf3
fixes #215
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
## Resubmission | ||
This is a resubmission. In this version I have: | ||
|
||
* removed a test that used a service that now requires authentication (Errors on CRAN checks were the result of these service changes) | ||
* added the ability to download, check, and load results based on job id (in addition to the geojob object) | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<wps:ExecuteResponse xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" statusLocation="https://cida.usgs.gov:443/gdp/process/RetrieveResultServlet?id=e0577fe5-2690-4140-8e95-7be4fa7ebec7"> | ||
<wps:Process> | ||
<ows:Identifier> | ||
gov.usgs.cida.gdp.wps.algorithm.FeatureWeightedGridStatisticsAlgorithm | ||
</ows:Identifier> | ||
<ows:Title>Area Grid Statistics (weighted)</ows:Title> | ||
</wps:Process> | ||
<wps:Status creationTime="2017-03-03T07:51:54.155-06:00"> | ||
<wps:ProcessSucceeded>Process successful</wps:ProcessSucceeded> | ||
</wps:Status> | ||
<wps:DataInputs> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>TIME_START</ows:Identifier> | ||
<wps:Data> | ||
<wps:LiteralData>1895-01-01T00:00:00.000Z</wps:LiteralData> | ||
</wps:Data> | ||
</wps:Input> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>TIME_END</ows:Identifier> | ||
<wps:Data> | ||
<wps:LiteralData>1899-01-01T00:00:00.000Z</wps:LiteralData> | ||
</wps:Data> | ||
</wps:Input> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>SUMMARIZE_TIMESTEP</ows:Identifier> | ||
<wps:Data> | ||
<wps:LiteralData>false</wps:LiteralData> | ||
</wps:Data> | ||
</wps:Input> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>SUMMARIZE_FEATURE_ATTRIBUTE</ows:Identifier> | ||
<wps:Data> | ||
<wps:LiteralData>false</wps:LiteralData> | ||
</wps:Data> | ||
</wps:Input> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>DATASET_URI</ows:Identifier> | ||
<wps:Data> | ||
<wps:LiteralData>dods://cida.usgs.gov/thredds/dodsC/prism_v2</wps:LiteralData> | ||
</wps:Data> | ||
</wps:Input> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>REQUIRE_FULL_COVERAGE</ows:Identifier> | ||
<wps:Data> | ||
<wps:LiteralData>true</wps:LiteralData> | ||
</wps:Data> | ||
</wps:Input> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>STATISTICS</ows:Identifier> | ||
<wps:Data> | ||
<wps:LiteralData>MEAN</wps:LiteralData> | ||
</wps:Data> | ||
</wps:Input> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>GROUP_BY</ows:Identifier> | ||
<wps:Data> | ||
<wps:LiteralData>STATISTIC</wps:LiteralData> | ||
</wps:Data> | ||
</wps:Input> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>FEATURE_ATTRIBUTE_NAME</ows:Identifier> | ||
<wps:Data> | ||
<wps:LiteralData>STATE</wps:LiteralData> | ||
</wps:Data> | ||
</wps:Input> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>DELIMITER</ows:Identifier> | ||
<wps:Data> | ||
<wps:LiteralData>COMMA</wps:LiteralData> | ||
</wps:Data> | ||
</wps:Input> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>DATASET_ID</ows:Identifier> | ||
<wps:Data> | ||
<wps:LiteralData>ppt</wps:LiteralData> | ||
</wps:Data> | ||
</wps:Input> | ||
<wps:Input xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<ows:Identifier>FEATURE_COLLECTION</ows:Identifier> | ||
<wps:Reference xlink:href="https://cida.usgs.gov/gdp/geoserver/wfs"> | ||
<wps:Body> | ||
<wfs:GetFeature xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs" outputFormat="text/xml; subtype=gml/3.1.1" service="WFS" version="1.1.0"> | ||
<wfs:Query typeName="sample:CONUS_states"> | ||
<wfs:PropertyName>the_geom</wfs:PropertyName> | ||
<wfs:PropertyName>STATE</wfs:PropertyName> | ||
<ogc:Filter> | ||
<ogc:GmlObjectId gml:id="CONUS_states.48"/> | ||
</ogc:Filter> | ||
</wfs:Query> | ||
</wfs:GetFeature> | ||
</wps:Body> | ||
</wps:Reference> | ||
</wps:Input> | ||
</wps:DataInputs> | ||
<wps:ProcessOutputs> | ||
<wps:Output> | ||
<ows:Identifier>OUTPUT</ows:Identifier> | ||
<ows:Title>Output File</ows:Title> | ||
<wps:Reference mimeType="text/csv" href="https://cida.usgs.gov:443/gdp/process/RetrieveResultServlet?id=e0577fe5-2690-4140-8e95-7be4fa7ebec7OUTPUT"/> | ||
</wps:Output> | ||
</wps:ProcessOutputs> | ||
</wps:ExecuteResponse> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since the file is downloaded, this should be location rather that destination, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right. Changing.