openclimatefix/pv-site-api

add lat lon filters

Closed this issue · 0 comments

Detailed Description

Add lat lon filters on forecast and true routes

Context

  • good to give the user options

Possible Implementation

  • add to routes /sites/l
  • lattitude_max, lattitude_min, longitude_max, longitude_min
  • they should be optional
  • these should be passed into sql query to speed things up