Spaces:
Running
on
L4
Running
on
L4
Update helpers/ReadAlphaEarth.py
Browse files
helpers/ReadAlphaEarth.py
CHANGED
|
@@ -25,9 +25,12 @@ import s3fs
|
|
| 25 |
from fsspec.parquet import open_parquet_file
|
| 26 |
import pyarrow.parquet as pq
|
| 27 |
|
|
|
|
|
|
|
| 28 |
fs = s3fs.S3FileSystem(anon=True)
|
| 29 |
print('[DONE]\nReading AEF index from remote location...')
|
| 30 |
aef_df = gpd.read_parquet('s3://us-west-2.opendata.source.coop/tge-labs/aef/v1/annual/aef_index.parquet')
|
|
|
|
| 31 |
|
| 32 |
# ==============================================================================
|
| 33 |
# 3. Utility Functions
|
|
|
|
| 25 |
from fsspec.parquet import open_parquet_file
|
| 26 |
import pyarrow.parquet as pq
|
| 27 |
|
| 28 |
+
from .grid import *
|
| 29 |
+
|
| 30 |
fs = s3fs.S3FileSystem(anon=True)
|
| 31 |
print('[DONE]\nReading AEF index from remote location...')
|
| 32 |
aef_df = gpd.read_parquet('s3://us-west-2.opendata.source.coop/tge-labs/aef/v1/annual/aef_index.parquet')
|
| 33 |
+
mt_grid = Grid(10, latitude_range=(-90,90), longitude_range=(-180,180))
|
| 34 |
|
| 35 |
# ==============================================================================
|
| 36 |
# 3. Utility Functions
|