Skip to content

Commit

Permalink
Update waterbodies time series plot to use API
Browse files Browse the repository at this point in the history
  • Loading branch information
caitlinadams committed May 13, 2024
1 parent 5487701 commit 0c1f10b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terria/africa-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
"url": "https://geoserver.digitalearth.africa/geoserver/wms",
"layers": "waterbodies:DEAfrica_Waterbodies",
"featureInfoTemplate": {
"template": "<div style='width:600px'> <h3>Waterbody Identifier: {{UID}}<br /> Percentage of surface area (not volume) observed as wet</h3><br /> <chart id='{{UID}}' title='Waterbody {{UID}}' chart-type='lineAndPoint' preview-x-label='Date' sources='{{#terria.urlEncode}}{{timeseries}}{{/terria.urlEncode}}' column-units='Date of satellite observation,%,#' x-column='date' y-column='pc_wet'> </chart>{{>disclaimer}}</div>",
"template": "<div style='width:600px'> <h3>Waterbody Identifier: {{UID}}<br /> Percentage of surface area (not volume) observed as wet</h3><br /> <chart id='{{UID}}' title='Waterbody {{UID}}' chart-type='lineAndPoint' preview-x-label='Date' sources='{{#terria.urlEncode}}https://api.digitalearth.africa/waterbodies/waterbody/{{WB_ID}}/observations/csv{{/terria.urlEncode}}' column-units='Date of satellite observation,%,#' x-column='date' y-column='percent_wet'> </chart>{{>disclaimer}}</div>",
"partials": {
"disclaimer": "This is a beta product, released for evaluation by all users. The DE Africa team is working actively to validate and improve this product. This graph shows the wet surface area of waterbodies as estimated from satellites. It does not show depth, volume, purpose of the waterbody, nor the source of the water."
"disclaimer": "This is a beta product, released for evaluation by all users. The DE Africa team is working actively to validate and improve this product. This graph shows the wet surface area of waterbodies as estimated from satellites. It does not show depth, volume, purpose of the waterbody, nor the source of the water. The wet surface area time series uses the Digital Earth Africa Water Observations from Space product which is known to have limitations. These limitations may carry through to the wet surface area time series. For more information, visit the <a href='https://docs.digitalearthafrica.org/en/latest/data_specs/Waterbodies_specs.html'>Digital Earth Africa Documentation</a>"
}
}
}
Expand Down

0 comments on commit 0c1f10b

Please sign in to comment.