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

Application Lifecycle Management

Search In Project

Search inClear

LAMPS#6452/v2
Tags:  not added yet

LAMPS[SVC-6452]

Tracker: Services Priority: NormalNormal Status: Deployed
Submitted by: wlloydJan 12 2016 11:03 Modified by: odavidMar 22 2016 09:03 Type:
Data
Path: m/lamps/1.0 Context: csip-lamps Version: 1.0
Endpoints: http://csip.engr.colostate.edu:8087/csip-lamps/m/lamps/1.0
Maintainers:
Website: You must login to see this link. Register now, if you have no user account yet. Apps:
--
Test Status:
--
Last Tested: -- Test Count: --
Test Success Rate: -- Failed Tests: --
Traceability
Loading…
Description

LAMPS

Land-use and Agricultural Management Practices web-Service (LAMPS)

LAMPS provides crop rotation and management information for user-specified areas within the 48 contiguous states of the USA.
The LAMPS workflow links the following data sources:

  • annual crop data layers from the CropScape web service based on high-resolution remote sensing data for recent years provided by the National Agricultural Statistical Service,
  • maps of irrigated areas compiled by the U.S. Geological Survey, and
  • the Land Management and Operation Database (LMOD) by the USDA Natural Resources Conservation Service containing agricultural management practices.

Workflow:

Invalid link [!LAMPSWorkFlow.png!]


  • Plain cURL command
  • Browser extension POSTman REST client
  • Using the LAMPS-Client
  • Suggestion: Try the LAMPS-Client, currently the most convenient option

Example Data set with request and response files

LAMPS data set example:

  • minimal request file requirement, -lamps-req.json
     "metainfo": { "keep_workspace": true }, "parameter": ~[ { "name": "geometry", "value": "scott.kmz" } ~] } }}
    * and the geometry file, -[scott.kmz|http://javaforge.com/displayDocument/scott.kmz?task_id=419001&artifact_id=4104997]
    \\
    !3 All request options for a request file structure are listed below and the corresponding response file structure.
    [{Table
    
    |__Request ( *-req.json)__
    |__Response ( *-res.json)__
    
    |(text-align:left;vertical-align:top;){{{{
        "metainfo": {
            "keep_workspace": true
        },
        "parameter": [
            {
                "name": "geometry",
                "description": "geometry / polygon information file; .shp / .kmz / .kml / .geojson (required)",
                "value": "scott.kmz"
            },
            {
                "name": "delta",
                "description": "delta factor to adjust the possible crop rotation order in the matching list (optional)",
                "min": "0.0",
                "max": "0.9",
                "value": "0.15"
            },
            {
                "name": "start_year",
                "description": "to generate an user-selected time period with the matching crop rotation; Start Year (optional)",
                "min": "2000",
                "max": "2100",
                "value": "2000"
            },
            {
                "name": "end_year",
                "description": "to generate an user-selected time period with the matching crop rotation; End Year (optional)",
                "min": "2001",
                "max": "2101",
                "value": "2014"
            },
            {
                "name": "ages_files",
                "description": "AgES-W input file generation (optional)",
                "min": "FALSE",
                "max": "TRUE",
                "value": "TRUE"
            }
        ]
    }
    

(text-align:left;vertical-align:top;)
{
  "metainfo": {
    "keep_workspace": true,
    "status": "Finished",
    "suid": "5bfda2f7-5967-11e4-b034-dbc253f3a642",
    "cloud_node": "172.1.6.181",
    "tstamp": "2014-10-21T21:15:18+0000",
    "service_url": "http:\/\/csip.engr.colostate.edu:8087\/csip-lamps\/m\/lamps\/1.0",
    "request_ip": "129.82.225.129",
    "cpu_time": 46641,
    "expiration_date": "2014-10-21T21:21:05+0000"
  },
  "parameter": [
    {
      "name": "geometry",
      "description": "geometry \/ polygon information file; .shp \/ .kmz \/ .kml \/ .geojson (required)",
      "value": "scott.kmz"
    },
    {
      "name": "delta",
      "description": "delta factor to adjust the possible crop rotation order in the matching list (optional)",
      "min": "0.0",
      "max": "0.9",
      "value": "0.15"
    },
    {
      "name": "start_year",
      "description": "to generate an user-selected time period with the matching crop rotation; Start Year (optional)",
      "min": "2000",
      "max": "2100",
      "value": "2000"
    },
    {
      "name": "end_year",
      "description": "to generate an user-selected time period with the matching crop rotation; End Year (optional)",
      "min": "2001",
      "max": "2101",
      "value": "2014"
    },
    {
      "name": "ages_files",
      "description": "AgES-W input file generation (optional)",
      "min": "FALSE",
      "max": "TRUE",
      "value": "TRUE"
    }
  ],
  "result": [
    {
      "name": "AOI_NASS_dominant_crop.csv",
      "value": "http:\/\/csip.engr.colostate.edu:8087\/csip-lamps\/q\/5bfda2f7-5967-11e4-b034-dbc253f3a642\/AOI_NASS_dominant_crop.csv"
    },
    {
      "name": "AOI_NASS_LMOD_custom.csv",
      "value": "http:\/\/csip.engr.colostate.edu:8087\/csip-lamps\/q\/5bfda2f7-5967-11e4-b034-dbc253f3a642\/AOI_NASS_LMOD_custom.csv"
    },
    {
      "name": "AOI_NASS_LMOD_generic.csv",
      "value": "http:\/\/csip.engr.colostate.edu:8087\/csip-lamps\/q\/5bfda2f7-5967-11e4-b034-dbc253f3a642\/AOI_NASS_LMOD_generic.csv"
    },
    {
      "name": "croprotation.csv",
      "value": "http:\/\/csip.engr.colostate.edu:8087\/csip-lamps\/q\/5bfda2f7-5967-11e4-b034-dbc253f3a642\/croprotation.csv"
    },
    {
      "name": "hrus_rot.csv",
      "value": "http:\/\/csip.engr.colostate.edu:8087\/csip-lamps\/q\/5bfda2f7-5967-11e4-b034-dbc253f3a642\/hrus_rot.csv"
    },
    {
      "name": "management.csv",
      "value": "http:\/\/csip.engr.colostate.edu:8087\/csip-lamps\/q\/5bfda2f7-5967-11e4-b034-dbc253f3a642\/management.csv"
    },
    {
      "name": "till.csv",
      "value": "http:\/\/csip.engr.colostate.edu:8087\/csip-lamps\/q\/5bfda2f7-5967-11e4-b034-dbc253f3a642\/till.csv"
    }
  ]
}

(text-align:left;vertical-align:top;)Files to attach:
-scott.kmz
(text-align:left;vertical-align:top;)Files to fetch:
-AOI_NASS_dominant_crop.csv
-AOI_NASS_LMOD_custom.csv
-AOI_NASS_LMOD_generic.csv

Optional Result files; structured as AgES-W input files:

-croprotation.csv
-hrus_rot.csv
-management.csv
-till.csv }]
Details
Comments & Attachments (3)
Associations
Children
SCM Commits
History (2)
Baselines
All (2)

Submitted Comment
wlloyd
Jan 12 2016 11:03
LAMPS_Client_ReadMe.pdf 61.4 KB
management.csv 4.1 KB
scott.kmz 8.3 KB
Screenshot 2014-10-28 13.10.27.png 17 KB
till.csv 3.8 KB
wlloyd
Jan 12 2016 11:03
LAMPS Client software
lamps_client.zip 9.3 MB
wlloyd
Jan 12 2016 11:03
AOI_NASS_dominant_crop.csv 7.6 KB
AOI_NASS_LMOD_custom.csv 209 KB
AOI_NASS_LMOD_generic.csv 2.4 KB
croprotation.csv 215 B
hrus_rot.csv 353 B
lamps-req.json 170 B