Workflow Entry: Elevation plot v.2

Created at: 06/10/11 @ 03:54:30      Last updated: 06/10/11 @ 16:32:18
Information Version 2 (latest) (of 2)
View version:

Version created on: 06/10/11 @ 04:28:51 by: Chrisser   |   Revision comments Expand

Last edited on: 06/10/11 @ 16:32:21 by: Chrisser

Title: Elevation plot v.2

Type: Taverna 2


Information Preview

(Click on the image to get the full size)

Medium


Information Description

Functionally identical to the original. I tried to upload a version with annotation, but somehow the notes didn't make it to myExperiment.

From the prior verion:

This workflow accepts city and country names as user-supplied input. These value are supplied to the GetWeather webservice (http://www.webservicex.net/globalweather.asmx?WSDL), which returns an XML record of location and weather info for each recognized city. (See the uploaded photo "weather example")

The XML returned from GetWeather is then searched using regular expressions for the geogrpahic coordinates. Because the  coordinates are returned in a different format (with a hyphen) than is required for the next web service (with a period), a lot string-wrangling needs to happen in order to format the coordinates as is needed while not loosing values along the way. All of this happens in the two additional workflows embedded in the main workflow, and which have been uploaded with the titles "latitudewithbeans" and longitudewithbeans". The names reference the fact that in each workflow netbeans scripts had to be edited in order to produce the required output.

From the two nested workflows, the output is two lists - one of latitude coordinates, one of longitude coordinates, both ordered to reflect the order in which the cities were originally entered. These lists are then supplied as inputs for a REST Service that I've configured to use the STRM webservice from geonames.org to fetch an elevation for supplied latitude and longitude coordinates (http://www.geonames.org/export/web-services.html#srtm3).

Because I've designed this workflow to pass blank values when cities are not recognized, another customized regular expression matching beanshell must follow the REST Service to catch any errors thrown from blank input values. Now, errors default to an elevation of -450, lower than any actual city on earth.

Finally, elevations are output onto a bar chart which is labelled with the appropriate city names. Negative elevations print as an elevation equal to zero.

!! Rserve is required for this workflow. !!


Information Download




Information Run

Run this Workflow in the Taverna Workbench...

Option 1:

Copy and paste this link into File > 'Open workflow location...'
http://www.myexperiment.org/workflows/2470/download?version=2
[ More InfoExpand ]


Information Workflow Components

Information Authors (0)
Information Titles (0)
Information Descriptions (0)
Inputs (2)
Processors (10)
Beanshells (0)
Outputs (1)
Datalinks (14)
Coordinations (0)

Information Workflow Type

Taverna 2

Information Original Uploader

Information License

All versions of this Workflow are licensed under:

Information Credits (1)

(People/Groups)

Information Attributions (0)

(Workflows/Files)

None

[ edit ]

Information Tags (21)

Log in to add Tags

Information Shared with Groups (1)

Information Featured In Packs (1)

Log in to add to one of your Packs

Information Ratings (1)

Current:

5.0 / 5

(1 rating)

Log in to rate and see breakdown of ratings

Information Attributed By (0)

(Workflows/Files)

None

Information Favourited By (0)

No one

 

Citations (0)
Version History

Earliest Version:
[1] - Elevation plot

Created on: Thursday 06 October 2011 @ 03:54:30 (GMT)

Created by: Chrisser

Last edited on: Thursday 06 October 2011 @ 03:56:18 (GMT)

Last edited by: Chrisser

Revision comments:

None

Latest Version:
[2] - Elevation plot v.2

Created on: Thursday 06 October 2011 @ 04:28:51 (GMT)

Created by: Chrisser

Last edited on: Thursday 06 October 2011 @ 16:32:21 (GMT)

Last edited by: Chrisser

Revision comments:

Same as prior version, but with better service annotation!



Reviews Reviews (0)

No reviews yet

Be the first to review!



Comments Comments (0)

No comments yet

Log in to make a comment




Workflow Other workflows that use similar services (0)

There are no workflows in myExperiment that use similar services to this Workflow.

What is this?

Linked Data

Non-Information Resource URI: http://www.myexperiment.org/workflows/2470


Alternative Formats

HTML
RDF
XML

New/Upload

Log in / Register

Username or Email:

Password:

Remember me:

OR

Use OpenID:


(eg: name.myopenid.com)

Need an account?
Click here to register

Forgot Password?

Front Page

Home

Invite people to myExperiment

Help pages

About Us

News and Events

Mailing List

Contact Us

Developers

Publications


Taverna Workflow Workbench

myGrid

BioCatalogue

Trident

Google Coop Search

EPSRC

JISC

Microsoft

Powered by:

Rails

Icons:
Silk icon set 1.3