quanted / cyan_app

django app for cyan
0 stars 0 forks source link

image - date incorrect #5

Closed aignatius closed 5 years ago

aignatius commented 7 years ago

As Dave the developer,
I want the image to correlate to the "date collected" as opposed to the date image was added to the database as currently implemented.
So that the image corresponds with the date image was taken.

Acceptance Criteria: If I make the following request I should see this response.

Request https://cyan.epa.gov/cyan/cyano/location/data/28.62979/-81.59902/2017-12-08

Response:

{
name: "Devils Elbow Post Light",
description: "location with image file name as envisat.2012097.0406.1541C.L3.EF3.v670.CIcyano1.png",
latitude: 28.62979,
longitude: -81.59902,
notes: null,
cellConcentration: 1014208,
meanCellConcentration: 1014005.6,
stdCellConcentration: 34461.434,
countCellConcentration: 853,
cellConcentrationBeforeSevenDays: 1014528,
cellConcentrationQueryDate: 1512709200000,
meris: false,
modis: false
}