bbest / terrapulse

TerraPulse graphical user interface (GUI), rapid application development (RAD) style
http://benbestphd.com/terrapulse/
4 stars 1 forks source link

add time series to GUI #1

Open bbest opened 6 years ago

bbest commented 6 years ago

From: Ben Best ben@ecoquants.com Date: Fri, Nov 3, 2017 at 11:39 AM Subject: Utah Summit county parcels for NDVI extraction To: Min Feng mfeng@terrapulse.com Cc: Joseph Sexton sexton@terrapulse.com, Saurabh Channan channan@terrapulse.com

Hi Min,

Attached are the Utah parcels for Summit county with an added "id" column of the form "UT_parcelSummit[#]". That would be awesome if you can provide a web service providing the mean and standard deviation for each parcel's NDVI similar to:

http://terrapulse.com:8080/_ndvi?x=-108.47892530078518&y=41.06222969618248

except:

http://terrapulse.com:8080/_ndvi_poly?id=UT_parcel_Summit_42

Then I can generate a Temporal tab with a time series plot of the selected parcel in the new TerraPulse map interface similar to MBON explorer:

  1. Select polygon from Map or dropdown: image

  2. Click on Temporal tab: image

Cheers, Ben

bbest commented 6 years ago

From: Min Feng mfeng@terrapulse.com Date: Tue, Nov 7, 2017 at 8:30 PM Subject: Re: Utah Summit county parcels for NDVI extraction To: Ben Best ben@ecoquants.com Cc: Joseph Sexton sexton@terrapulse.com, Saurabh Channan channan@terrapulse.com

Dear Ben,

Thanks for sharing the parcel shapefile. I have finished the extraction of the time-series NDVI for the Summit county. You may test it at:

http://terrapulse.com:8080/_ndvi_poly?id=

for example:

http://terrapulse.com:8080/_ndvi_poly?id=UT_parcel_Summit_42

It returns an JSON array of [date, mean NDVI, STD of NDVI] for the parcel. For example:

[
  [
    "2000-02-25", 
    0.25533333333333336, 
    0
  ], 
  [
    "2000-02-26", 
    0.25475000000000003, 
    0
  ],
...
]

Please let me know if you have questions.

Thanks,

-Min