Closed CYLoe closed 9 years ago
@prashantchhabra89 I edited the issue to include all the information you should need. Let me know if there's anything I left out.
Do I have to write script for only wind data for now?
I think wind and solar. We have both in drive right now.
Edited filename definition for Wind
Closed by #62
Add a data grid file finder service. Requires a class with at least one function. That function must take in four doubles as a parameter (northeast latitude, northeast longitude, southwest latitude, southwest longitude) and return an array of file names. There are a number of cases to consider, so I made a quick mockup covering what we discussed today:![grid_returns](https://cloud.githubusercontent.com/assets/4827133/4778360/61e532d6-5be6-11e4-922b-0763f4a5f768.png)
The json files which represent the grid will be named in such a way that only the names need to be used to determine if the selection passed in to the function is at all included in that grid. If it is, that file name must be returned.
The files will be named as such: Wind: NorthEastLat_NorthEastLon_SouthWestLat_SouthWestLonSeason.json Wind(Example): 49-12450-121_anu.json corresponds to NorthEastLat = 49, NorthEastLon = -124, SouthWestLat = 50, SouthWestLon = -121, anu = annual data
Solar: Solar_month.json Solar(Example): Solar_1.json corresponds to month = January; Note that month = 13 is annual data which is our primary use case
Hydro: Hydro_month.json Hydro(Example): Hydro_1.json corresponds to month = January; Note that month = 13 is annual data