The modules available in this package are designed to capture and proccess satellite data from Copernicus
Project description
Satellite Weather Downloader
Xarray | Copernicus |
---|---|
SWD is a system for downloading, transforming and analysing Copernicus weather data using Xarray. It consists in two major apps, satellite_downloader
and satellite_weather
. downloader
is responsible for extracting NetCDF4 files from Copernicus API, and the weather
implements Xarray extensions for transforming and visualizing the files.
Installation
The app is available on PYPI, you can use the package without deploying the containers with the command in your shell:
$ pip install satellite-weather-downloader
Requirements
For downloading data from Copernicus API, it is required an account. The credentials for your account can be found in Copernicus' User Page, in the API key
section. User UID and API Key will be needed in order to request data. Paste them when asked in satellite_downloader
connection methods.
Notes
Python Versions = [3.10, 3.11]
Version 1.X includes only methods for Brazil's data format and cities.
Usage of copebr
extension
import satellite_downloader
import satellite_weather
file = satellite_downloader.download_br_netcdf('2023-01-01', '2023-01-07')
br_dataset = satellite_weather.load_dataset(file)
rio_dataset = br_dataset.copebr.ds_from_geocode(3304557) # Rio de Janeiro's geocode
rio_dataframe = rio_dataset.to_dataframe()
It is also possible to create a dataframe directly from the National-wide dataset:
br_dataset.copebr.to_dataframe(3304557)
All Xarray methods are extended when using the copebr
extension:
rio_dataset.precip_med.to_array()
rio_dataset.temp_med.plot()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for satellite_weather_downloader-1.4.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16e3be57afcb6989ee963144546339a58c697d52875ebc340d7fd336d8c74904 |
|
MD5 | afc5d8cfbbe08a158425d55fd70473bb |
|
BLAKE2b-256 | 63f63dadc2d7334f8f7c1cc8bd1c1c2407610aad6c1d79c85fa63829cb74c66b |
Hashes for satellite_weather_downloader-1.4.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30ad0e2d9f380a66b863f7d55b8fb37586e5abbfdfb39ab147def405a09454ec |
|
MD5 | 9fac2c43cac33b26dc1252082b4a194f |
|
BLAKE2b-256 | e1079684e9b8f83695266a839b34c8e3728021dc86f5051c22dce4410256f944 |