You are not logged in. Click here to log in.

Application Lifecycle Management

Search In Project

Search inClear

CFA Download Tool#6468/v2
Tags:  not added yet

CFA Download Tool[SVC-6468]

Tracker: Services Priority: NormalNormal Status: Deployed
Submitted by: wlloydJan 12 2016 11:03 Modified by: tcwibleJan 27 2016 13:21 Type:
Data
Path: m/cfa/download Context: csip-cfa Version: 1.0
Endpoints: http://csip.engr.colostate.edu:8082/csip-cfa/m/cfa/download/1.0
Maintainers:
Website: -- Apps:
--
Test Status:
--
Last Tested: -- Test Count: --
Test Success Rate: -- Failed Tests: --
Traceability
Loading…
Description
The CFA Download Tool access the numerous databases that the CFA analyses can auto-extract stream data from. The backbone of the other CFA models is a data extractor linked to USGS's National Water Information System (NWIS), EPA's STORET (WQX), and Colorado Division of Water Resource's (CDWR) databases. Flow and water quality data are auto-extracted from these databases within each of the analyses and this tool returns the original downloaded material from the specified database.

Request Response
{
  "metainfo": {},
  "parameter": [
    {
      "name": "database",
      "description": "the database that the flow station belongs to (CDWR | STORET | USGS)",
      "value": "USGS"
    },
    {
      "name": "org",
      "description": "supervising organization for the station within the database",
      "value": "USGS"
    },
    {
      "name": "station_id",
      "description": "station ID or name abbreviation used to query the specified database",
      "value": "06752000"
    },
    {
      "name": "wq_test",
      "description": "Water Quality Test. If a USGS station can be 'flow', 'flood flow', '15-min flow', 'all' which retrieves all water quality data, the 5 digit USGS water quality code like '00600' for total nitrogen, or 'stage-discharge' to attempt retriving available rating curve data. If it is a STORET station it can be 'flow', 'flood flow' which retrieves normal flow data for a user to later calculate annual maximums from, or the title of a water quality test in the STORET database like 'nitrogen'. If it is a CDWR station it can be 'flow', 'flood flow' which retrieves normal flow data for a user to later calculate annual maximums from, or 'stage-discharge' to attempt retriving available rating curve data.",
      "value": "flow"
    },
    {
      "name": "useSTORETretrieval",
      "description": "If true, a flag that if true uses this tool's built in STORET data retrieval. If false, it uses the data provided for the STORET station in 'STORETdata' which is intended for use by eRAMS only.",
      "value": true
    },
    {
      "name": "STORETdata",
      "description": "String containing user uploaded data with one line header, first column dates (yyyy-mm-dd format), second column values in a tab-delimited format. Only used if useSTORETretrieval == 'false' and database == 'STORET'.",
      "value": ""
    },
    {
      "name": "begin_date",
      "description": "Begin date of data analysis, blank or formatted yyyy-MM-dd",
      "value": ""
    },
    {
      "name": "end_date",
      "description": "End date of data analysis, blank or formatted yyyy-MM-dd",
      "value": ""
    }
  ]
}
{
  "metainfo": {
    "status": "Finished",
    "suid": "ac9729e3-ef4f-11e4-89b7-55eea3ba414e",
    "cloud_node": "172.1.6.33",
    "tstamp": "2015-04-30 09:43:40",
    "service_url": "http://csip.engr.colostate.edu:8082/csip/m/cfa/download/1.0",
    "request_ip": "129.82.225.132",
    "cpu_time": 9844,
    "expiration_date": "2015-04-30 09:48:50"
  },
  "parameter": [
    {
      "name": "database",
      "description": "the database that the flow station belongs to (CDWR | STORET | USGS)",
      "value": "USGS"
    },
    {
      "name": "org",
      "description": "supervising organization for the station within the database",
      "value": "USGS"
    },
    {
      "name": "station_id",
      "description": "station ID or name abbreviation used to query the specified database",
      "value": "06752000"
    },
    {
      "name": "wq_test",
      "description": "Water Quality Test. If a USGS station can be 'flow', 'flood flow', '15-min flow', 'all' which retrieves all water quality data, the 5 digit USGS water quality code like '00600' for total nitrogen, or 'stage-discharge' to attempt retriving available rating curve data. If it is a STORET station it can be 'flow', 'flood flow' which retrieves normal flow data for a user to later calculate annual maximums from, or the title of a water quality test in the STORET database like 'nitrogen'. If it is a CDWR station it can be 'flow', 'flood flow' which retrieves normal flow data for a user to later calculate annual maximums from, or 'stage-discharge' to attempt retriving available rating curve data.",
      "value": "flow"
    },
    {
      "name": "useSTORETretrieval",
      "description": "If true, a flag that if true uses this tool's built in STORET data retrieval. If false, it uses the data provided for the STORET station in 'STORETdata' which is intended for use by eRAMS only.",
      "value": true
    },
    {
      "name": "STORETdata",
      "description": "String containing user uploaded data with one line header, first column dates (yyyy-mm-dd format), second column values in a tab-delimited format. Only used if useSTORETretrieval == 'false' and database == 'STORET'.",
      "value": ""
    },
    {
      "name": "begin_date",
      "description": "Begin date of data analysis, blank or formatted yyyy-MM-dd",
      "value": ""
    },
    {
      "name": "end_date",
      "description": "End date of data analysis, blank or formatted yyyy-MM-dd",
      "value": ""
    }
  ],
  "result": [
    {
      "name": "start",
      "value": "1881-07-01"
    },
    {
      "name": "end",
      "value": "2007-09-30"
    },
    {
      "name": "output_location",
      "value": "CFA_dataDownload.txt"
    },
    {
      "name": "CFA_dataDownload.txt",
      "value": "http://csip.engr.colostate.edu:8082/csip/q/ac9729e3-ef4f-11e4-89b7-55eea3ba414e/CFA_dataDownload.txt"
    }
  ]
}
Files to attach:
(none)
Files to fetch:
CFA_dataDownload.txt

Details
Comments & Attachments
Associations
Children
SCM Commits
History (2)
Baselines
All (2)

Submitter Association Comment
Nothing found to display.