All Projects → aazuspan → wxee

aazuspan / wxee

Licence: GPL-3.0 License
A Python interface between Earth Engine and xarray for processing time series data

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to wxee

Start maja
To process a Sentinel-2 time series with MAJA cloud detection and atmospheric correction processor
Stars: ✭ 47 (-58.41%)
Mutual labels:  time-series, raster, earth-observation
aospy
Python package for automated analysis and management of gridded climate data
Stars: ✭ 80 (-29.2%)
Mutual labels:  climate, xarray, netcdf
awesome-spectral-indices
A ready-to-use curated list of Spectral Indices for Remote Sensing applications.
Stars: ✭ 357 (+215.93%)
Mutual labels:  gis, raster, earth-engine
Rioxarray
geospatial xarray extension powered by rasterio
Stars: ✭ 148 (+30.97%)
Mutual labels:  gis, raster, netcdf
climate-data-science
Climate Data Science and Earth Observation with Python.
Stars: ✭ 103 (-8.85%)
Mutual labels:  xarray, earth-observation, climatology
gis4wrf
QGIS toolkit 🧰 for pre- and post-processing 🔨, visualizing 🔍, and running simulations 💻 in the Weather Research and Forecasting (WRF) model 🌀
Stars: ✭ 137 (+21.24%)
Mutual labels:  weather, gis, netcdf
Datacube Core
Open Data Cube analyses continental scale Earth Observation data through time
Stars: ✭ 285 (+152.21%)
Mutual labels:  gis, raster, netcdf
eemont
A python package that extends Google Earth Engine.
Stars: ✭ 290 (+156.64%)
Mutual labels:  gis, raster, earth-engine
pylandtemp
Algorithms for computing global land surface temperature and emissivity from NASA's Landsat satellite images with Python.
Stars: ✭ 110 (-2.65%)
Mutual labels:  climate, raster, earth-observation
wax-ml
A Python library for machine-learning and feedback loops on streaming data
Stars: ✭ 36 (-68.14%)
Mutual labels:  time-series, xarray
ee extra
A ninja python package that unifies the Google Earth Engine ecosystem.
Stars: ✭ 42 (-62.83%)
Mutual labels:  gis, earth-engine
go-mbgl
Go bindings for Mapbox GL Native
Stars: ✭ 16 (-85.84%)
Mutual labels:  gis, raster
gribr
GRIB interface for R using ECMWF ecCodes
Stars: ✭ 18 (-84.07%)
Mutual labels:  weather, climate
wetterdienst
Open weather data for humans
Stars: ✭ 190 (+68.14%)
Mutual labels:  weather, time-series
pylandsat
Search, download, and preprocess Landsat imagery 🛰️
Stars: ✭ 49 (-56.64%)
Mutual labels:  gis, earth-observation
eodag
Earth Observation Data Access Gateway
Stars: ✭ 183 (+61.95%)
Mutual labels:  gis, earth-observation
Julia Geospatial
Examples for a blog series on Geospatial Julia using ArchGDAL
Stars: ✭ 58 (-48.67%)
Mutual labels:  raster, earth-observation
climate system
Notes and practicals for my "Physics of the Climate System" lecture
Stars: ✭ 13 (-88.5%)
Mutual labels:  climate, xarray
spyndex
Awesome Spectral Indices in Python.
Stars: ✭ 56 (-50.44%)
Mutual labels:  xarray, earth-engine
Geospatial Python CourseV1
This is an collection of blog posts turned into a course format
Stars: ✭ 53 (-53.1%)
Mutual labels:  raster, earth-observation
wxee .-- -..-

PyPI conda-forge Open in Colab Read the Docs Build status Code coverage Language Grade: Python Black code style GLP3 License

Demo downloading weather data to xarray using wxee.

What is wxee?

wxee was built to make processing gridded, mesoscale time series data quick and easy by integrating the data catalog and processing power of Google Earth Engine with the flexibility of xarray, with no complicated setup required. To accomplish this, wxee implements convenient methods for data processing, aggregation, downloading, and ingestion.

wxee can be found in the Earth Engine Developer Resources!

Features

To see some of the capabilities of wxee and try it yourself, check out the interactive notebooks here!

Install

Pip

pip install wxee

Conda

conda install -c conda-forge wxee

From Source

git clone https://github.com/aazuspan/wxee
cd wxee
make install

Quickstart

Setup

Once you have access to Google Earth Engine, just import and initialize ee and wxee.

import ee
import wxee

wxee.Initialize()

Download Images

Download and conversion methods are extended to ee.Image and ee.ImageCollection using the wx accessor. Just import wxee and use the wx accessor.

xarray

ee.ImageCollection("IDAHO_EPSCOR/GRIDMET").wx.to_xarray()

NetCDF

ee.ImageCollection("IDAHO_EPSCOR/GRIDMET").wx.to_xarray(path="data/gridmet.nc")

GeoTIFF

ee.ImageCollection("IDAHO_EPSCOR/GRIDMET").wx.to_tif()

Create a Time Series

Additional methods for processing image collections in the time dimension are available through the TimeSeries subclass. A TimeSeries can be created from an existing ee.ImageCollection...

col = ee.ImageCollection("IDAHO_EPSCOR/GRIDMET")
ts = col.wx.to_time_series()

Or instantiated directly just like you would an ee.ImageCollection!

ts = wxee.TimeSeries("IDAHO_EPSCOR/GRIDMET")

Aggregate Daily Data

Many weather datasets are in daily or hourly resolution. These can be aggregated to coarser resolutions using the aggregate_time method of the TimeSeries class.

ts = wxee.TimeSeries("IDAHO_EPSCOR/GRIDMET")
monthly_max = ts.aggregate_time(frequency="month", reducer=ee.Reducer.max())

Calculate Climatological Means

Long-term climatological means can be calculated using the climatology_mean method of the TimeSeries class.

ts = wxee.TimeSeries("IDAHO_EPSCOR/GRIDMET")
mean_clim = ts.climatology_mean(frequency="month")

Contribute

Bugs or feature requests are always appreciated! They can be submitted here.

Code contributions are also welcome! Please open an issue to discuss implementation, then follow the steps below. Developer setup instructions can be found in the docs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].