Meehai commited on
Commit
fb0cb78
0 Parent(s):

initial commit

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +3 -0
  2. .gitignore +11 -0
  3. README.md +29 -0
  4. neo_1month/data/AOD/2000-03.npz +3 -0
  5. neo_1month/data/AOD/2000-04.npz +3 -0
  6. neo_1month/data/AOD/2000-05.npz +3 -0
  7. neo_1month/data/AOD/2000-06.npz +3 -0
  8. neo_1month/data/AOD/2000-07.npz +3 -0
  9. neo_1month/data/AOD/2000-08.npz +3 -0
  10. neo_1month/data/AOD/2000-09.npz +3 -0
  11. neo_1month/data/AOD/2000-10.npz +3 -0
  12. neo_1month/data/AOD/2000-11.npz +3 -0
  13. neo_1month/data/AOD/2000-12.npz +3 -0
  14. neo_1month/data/AOD/2001-01.npz +3 -0
  15. neo_1month/data/AOD/2001-02.npz +3 -0
  16. neo_1month/data/AOD/2001-03.npz +3 -0
  17. neo_1month/data/AOD/2001-04.npz +3 -0
  18. neo_1month/data/AOD/2001-05.npz +3 -0
  19. neo_1month/data/AOD/2001-06.npz +3 -0
  20. neo_1month/data/AOD/2001-07.npz +3 -0
  21. neo_1month/data/AOD/2001-08.npz +3 -0
  22. neo_1month/data/AOD/2001-09.npz +3 -0
  23. neo_1month/data/AOD/2001-10.npz +3 -0
  24. neo_1month/data/AOD/2001-11.npz +3 -0
  25. neo_1month/data/AOD/2001-12.npz +3 -0
  26. neo_1month/data/AOD/2002-01.npz +3 -0
  27. neo_1month/data/AOD/2002-02.npz +3 -0
  28. neo_1month/data/AOD/2002-03.npz +3 -0
  29. neo_1month/data/AOD/2002-04.npz +3 -0
  30. neo_1month/data/AOD/2002-05.npz +3 -0
  31. neo_1month/data/AOD/2002-06.npz +3 -0
  32. neo_1month/data/AOD/2002-07.npz +3 -0
  33. neo_1month/data/AOD/2002-08.npz +3 -0
  34. neo_1month/data/AOD/2002-09.npz +3 -0
  35. neo_1month/data/AOD/2002-10.npz +3 -0
  36. neo_1month/data/AOD/2002-11.npz +3 -0
  37. neo_1month/data/AOD/2002-12.npz +3 -0
  38. neo_1month/data/AOD/2003-01.npz +3 -0
  39. neo_1month/data/AOD/2003-02.npz +3 -0
  40. neo_1month/data/AOD/2003-03.npz +3 -0
  41. neo_1month/data/AOD/2003-04.npz +3 -0
  42. neo_1month/data/AOD/2003-05.npz +3 -0
  43. neo_1month/data/AOD/2003-06.npz +3 -0
  44. neo_1month/data/AOD/2003-07.npz +3 -0
  45. neo_1month/data/AOD/2003-08.npz +3 -0
  46. neo_1month/data/AOD/2003-09.npz +3 -0
  47. neo_1month/data/AOD/2003-10.npz +3 -0
  48. neo_1month/data/AOD/2003-11.npz +3 -0
  49. neo_1month/data/AOD/2003-12.npz +3 -0
  50. neo_1month/data/AOD/2004-01.npz +3 -0
.gitattributes ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ *.npy filter=lfs diff=lfs merge=lfs -text
2
+ *.npz filter=lfs diff=lfs merge=lfs -text
3
+ *.ipynb filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.PNG
2
+ *.png
3
+ *.csv
4
+ archives/
5
+ neo_1month/
6
+ *.npz
7
+ *.npy
8
+ __pycache__
9
+ *.pyc
10
+ dataset/
11
+
README.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <b><h1>NEO dataset</h1></b>
2
+
3
+ Preprocessing and loading scripts for NEO datasets: 1 week and 1 month variants. Go in either [1 week](neo_1week) or
4
+ [1 month](neo_1month) directories.
5
+
6
+ Steps:
7
+ 1. **Download raw data**
8
+
9
+ Use the `./download_raw_data.py -o raw_data` script.
10
+
11
+ 1.1 **For weekly data only**. Use the `preprocess_raw_1week_data.py raw_data -o raw_data_fixed` script.
12
+
13
+ - NDVI is only sampled at 16 days, we make an average of two consecutive samples to create an 8 day average.
14
+
15
+ - We rename the data from YYYY-MM-DD to YYYY-MM-E (E=1,2,3,4 depending on which week bucket). This is needed because
16
+ different sensors sample data at different weeks
17
+
18
+
19
+ 2. **Convert from PNG to NPY files**
20
+ - Converts from raw PNG to [0:1] normalied, 540x1080 npy files, and adds NaNs to invalid regions in the NEO data.
21
+
22
+ `./convert_png_to_npy.py raw_data -o npy_data [--resolution 540 1080]`
23
+
24
+ - If `--resolution` is not set, it will default to `540 x 1080`.
25
+
26
+ 3. Run the [neo_viewer](neo_viewer.ipynb) and [data analysis](neo_data_analysis.ipynb) notebook
27
+ - Set the path to `neo_1week/npy_data` or `neo_1month/npy_data`.
28
+
29
+ 4. Use in ML python scripts via the [neo reader](neo_reader/neo_reader.py). You can also run it with the `npy_data`.
neo_1month/data/AOD/2000-03.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba90af78b1fa2d450e802720fcebc8cb3c0f7fccfab2338c33c51d644e86283f
3
+ size 1166664
neo_1month/data/AOD/2000-04.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:922bf63969790f7e3d6190aa0df629d4fc1fe6f7cc5be9cbf0191f8e17f2542d
3
+ size 1166664
neo_1month/data/AOD/2000-05.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85f77ce771725a46ddd5af12c09239408113711a2fffb8ef90ad317b5be51d2f
3
+ size 1166664
neo_1month/data/AOD/2000-06.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:053d2e49c624be2abcfd2da8718632fd48417b0eaee2f1588a97fd289f61e182
3
+ size 1166664
neo_1month/data/AOD/2000-07.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a1c760c60ffd2824dfe97313411a358465dfefa0663a087f1fa2dbc84474add
3
+ size 1166664
neo_1month/data/AOD/2000-08.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8017576a9bd86e80718e45943b829031422ac8a43309d3d01ca9bd1ca62d81c
3
+ size 1166664
neo_1month/data/AOD/2000-09.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:230f4efacb8e02b1338332c61991047b83a6c5dd942c054457dbec9d58da6f26
3
+ size 1166664
neo_1month/data/AOD/2000-10.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f02e9b3c65400fdda28348a19f83242c08264ada693e64ddf3f0e1e5663091a
3
+ size 1166664
neo_1month/data/AOD/2000-11.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1f60a2880b3cf2c7bc558254ac11a343c5c8eb1405c40bf3cbba440393bc42c
3
+ size 1166664
neo_1month/data/AOD/2000-12.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39f0905b5fdb1f2e26edf44999282acf6dc33c03b74c06bfb4b0272b282535f6
3
+ size 1166664
neo_1month/data/AOD/2001-01.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:169ac24510cde9b4a17cb4baee538e33a7d54624a6dd285e8d7808ff9ba48b0f
3
+ size 1166664
neo_1month/data/AOD/2001-02.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50a0cb19eff9029b84c19679e85a9a9f75a83049bd02e8cac44aca9b1aafba91
3
+ size 1166664
neo_1month/data/AOD/2001-03.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e97bb4e3ef0e534fb3ef409616890b58f537b3816118474f0bba66c23142325b
3
+ size 1166664
neo_1month/data/AOD/2001-04.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f96f151b9b58fe0c76d4830e25041ebce2b837abac4f48ffa511ab4ff9192df
3
+ size 1166664
neo_1month/data/AOD/2001-05.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11fe616294fa48c6efe230cbaebcd194ef72c23789fd944d9b667ef5df652d81
3
+ size 1166664
neo_1month/data/AOD/2001-06.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5568b513dd874885532c58eb0a2f0b896b3dfa845f974481ee3f1c676ba59d11
3
+ size 1166664
neo_1month/data/AOD/2001-07.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86e7927ccf57a3bddcef22c89deab02cc1ce05243656b1e5ce5d3d1d29af461d
3
+ size 1166664
neo_1month/data/AOD/2001-08.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c3726b9cd58b58f5a13149cb1ffe35c4264bf21f9faeeab8b763d48d7ac0ace
3
+ size 1166664
neo_1month/data/AOD/2001-09.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd237fad8e409466cca7457121ce01e1aad0954013c631be886fb98496b9c29f
3
+ size 1166664
neo_1month/data/AOD/2001-10.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd0f14fe8b97b6d437dcd447e2214a95e10532d5579b9321a5ec6f71409a8756
3
+ size 1166664
neo_1month/data/AOD/2001-11.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:236821cdc4c98d11294b9aed0f325694c93e9912309aa65593f0a10d54253797
3
+ size 1166664
neo_1month/data/AOD/2001-12.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89684f89d3482556ae9380b271813a562929ae81c6126559f2c8c0da613a98ee
3
+ size 1166664
neo_1month/data/AOD/2002-01.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b422c98bbf6489b1b9f65d022c921d9ac245004287eb916e0c8fb1aeae013ba3
3
+ size 1166664
neo_1month/data/AOD/2002-02.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c14b1c7018be36226d4a40a673f797daca008d41a97d6acbda77ac53c71eea68
3
+ size 1166664
neo_1month/data/AOD/2002-03.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:503d7b6fd62f81afc5ac16789896f8d6b1af4d4705a4f335cb5208bb36bdbc2f
3
+ size 1166664
neo_1month/data/AOD/2002-04.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e49a791a5f824fdb07e457a981bae3979caa66534919b41c63b4d108b35edea
3
+ size 1166664
neo_1month/data/AOD/2002-05.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3e660311be49292de6e6b93ec62b2627f7c302ade8e6898e5392f7843c9cb0f
3
+ size 1166664
neo_1month/data/AOD/2002-06.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fb0b760aa8d12c3d5fd935f490d28aa80ed9a81a80167747ad38c7b17e16ff5
3
+ size 1166664
neo_1month/data/AOD/2002-07.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7694bedffd480fc65d65b85fe2f817f72451b6fcbccbd80f69b1ec6b8ef3b00
3
+ size 1166664
neo_1month/data/AOD/2002-08.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8aa5cf4b7c927cf9b232e6371d2a2877fad23521ce8d8b36d644a30a09dce06a
3
+ size 1166664
neo_1month/data/AOD/2002-09.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcc2d14d286976967b4b33a5c4dd1745153aa41d6ec127b4facab59053f45f7d
3
+ size 1166664
neo_1month/data/AOD/2002-10.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6be9a4b022ecf93c08cff27df837aeaecfa15bab162d07e1bcdc64308f56d2bd
3
+ size 1166664
neo_1month/data/AOD/2002-11.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5443ee69005b5b96a4176f72853d2eec7f1180046fa3ed7b7b80a6d168378431
3
+ size 1166664
neo_1month/data/AOD/2002-12.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12bc8e30b1c5d2e3909824e622dad795935919b2f6731be76dda3e0f8644cc43
3
+ size 1166664
neo_1month/data/AOD/2003-01.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:334a449987c655d67afbec7ace4c70d97b7983579bf47624c942037a12f01ffa
3
+ size 1166664
neo_1month/data/AOD/2003-02.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8fa82934711b83d069e78bb4e8735344fca77886c4bbdc440983b45bef2eb7a
3
+ size 1166664
neo_1month/data/AOD/2003-03.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e70d6544aa963f07e17bd623e354714f76c3aba50cc9d57b18f2460ded0b158
3
+ size 1166664
neo_1month/data/AOD/2003-04.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:718aa457710d075ea66567dc95e632df8f4c904cc9981faf84243452749a9646
3
+ size 1166664
neo_1month/data/AOD/2003-05.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:712f4848fdbd4ed99cf975006c3724844165c4cec4163cec0a6c67fef49bc707
3
+ size 1166664
neo_1month/data/AOD/2003-06.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd58c5a2d627f3d83efc9ff6f999ab29094acbe22d39e21c7d516c6ded8f4768
3
+ size 1166664
neo_1month/data/AOD/2003-07.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de31d985622601be46db60d988b19948bfaf0c9a3ab43481e8c18b73ee08aa5d
3
+ size 1166664
neo_1month/data/AOD/2003-08.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:259ca1c621ede2dbcc3da7d7608d0c2c906d84f0061ef8bce9f34ab987e3b0a2
3
+ size 1166664
neo_1month/data/AOD/2003-09.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9aa653cc1111f6012f70ce572941532c2d449796a8b7823bd07e5101f5ecd7c
3
+ size 1166664
neo_1month/data/AOD/2003-10.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77210e6b6f0e5aaf3915510967ec51d22a15cfbe1cf34fb438610a9f2e8fa46f
3
+ size 1166664
neo_1month/data/AOD/2003-11.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f40aabb0564d34b715ee9e12fc7c4b17e66a9cd800dd1ebc5dcc61a0bb89043
3
+ size 1166664
neo_1month/data/AOD/2003-12.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6824d4cc405fd5879797cff76723e5301de3d8274c0f01e86665c0ca519a6923
3
+ size 1166664
neo_1month/data/AOD/2004-01.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d67220eaf20369e3516190532d7dc93e8eaa942ff3e0aa7206803f812ec07f2
3
+ size 1166664