Wxee

A Python interface between Earth Engine and xarray for processing time series data
Alternatives To Wxee
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Wetterdienst26412 days ago72June 26, 202219mitPython
Open weather data for humans.
Cond_rnn191
6 months ago1mitPython
Conditional RNNs for Tensorflow / Keras.
Wxee171
a month ago8November 21, 20215mitPython
A Python interface between Earth Engine and xarray for processing time series data
Meteoforecast45
13 months ago10November 20, 2018gpl-3.0R
A package to access outputs from Numerical Weather Prediction models both in raster format and as a time series for a location
Aic_weather_forecasting37
5 years agoPython
AI Challenger 2018 Weather Forecasting - 1st Place Solution
Dublin Bikes Timeseries Analysis19
6 years agoJupyter Notebook
Pywaterinfo14
a month ago9January 25, 20223mitPython
Python package to download time series data from waterinfo.be
Tsgettoolbox14
25 days ago5bsd-3-clausePython
Command line script and Python package to get weather and hydrologic time-series from Internet services.
Postgrestimeseriesanalysis9
4 years agomitTSQL
Experiments for Timeseries Analysis with Postgres
Machine Learning China Air Pollution5
5 years agoPython
This hub is for a project for research on China air pollution PM 2.5, including research references, data sources, and a list of our codes and result.
Alternatives To Wxee
Select To Compare


Alternative Project Comparisons
Readme
wxee .-- -..-

Earth Engine Python PyPI conda-forge Open in Colab Read the Docs Build status Code coverage
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.

Popular Time Series Projects
Popular Weather Projects
Popular Data Storage Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Weather
Time Series
Gis
Raster
Netcdf
Wx