Guest User

Untitled

a guest
Jul 17th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. ##### Goal
  2. The goal of this task is to have some code for us to talk about during your next interview.
  3. So if you cannot get it working within an hour or two, please don't keep hammering away (unless you really enjoy the challenge)!
  4.  
  5. ##### Task
  6. Build a standard REST interface for our weather data. All of the standard REST methods should be available. The weather data has been serialized into the attached pickle file. This data includes data from all over the globe. The format of the file is an array of latitude, longitude, and temperature (in fahrenheit).
  7.  
  8. For this project, we have several requirements:
  9. 1. Only data from Colorado is relevant.
  10. 2. All temperatures should be handled in Celcius
  11. 3. Assume the row number to be a unique ID for each data point in the file. For example, ID 1 might refer to the first row of the file.
  12. 4. For the purpose of this project, you can assume colorado is a perfect rectangle with its coordinates below.
  13. * Northwest corner of Colorado state lat: 40.967523, lng: -109.015605
  14. * Southeast corner of Colorado state lat: 37.090957, lng: -102.145939
  15.  
  16. ##### Assumptions
  17. * You can assume this will be a public API. There's no need for authentication.
  18. * If you have other assumptions, please write them out and send them with your code.
Add Comment
Please, Sign In to add comment