Skip to main content

Code to produce the GlobAlbedo prior from MODIS data, using the MCD43A1 and MCD43A2 MODIS products.

The Python package can be installed using pip or easy_install (it’s available from the cheese shop. Once installed with e.g. pip install globalbedo_prior --user --upgrade, a script called alvedro_prior should appear in your path (this depends on pip/easy_intall doing their work properly). This script can be used to produce a daily prior of BRDF kernel parameters derived from the MODIS products.

The generation of the prior is very simple, and is performed in two stages:

Stage 1

For each pixel, the entire timeseries of 8-daily observations are averaged using a weight derived from the QA flags. This results in a mostly complete 8-daily kernel product, stored as GeoTIFF files. Note that in some regions with cloud problems, there can be empty pixels as no observations are available for the period of interest within the MODIS record. Note that we calculate both the mean and standar deviation of the kernel parameters.

Stage 2

For each day of year and pixel, a simple Laplacian filter in time is used to interpolate temporally. The filter is quite peaky, and its weight decays to 0.5 8 days after the day of interest.

Usage

The usage using the alvedro_prior script is very simple: just stash the MCD43A1 and MCD43A2 files somewhere (no need for fancy directories or anything, although that helps you!), and select a tile. Then decide whether the output will be saved to, and execute a command like this:

nohup alvedro_prior --tile h17v04 --datadir <my_data_directory_root> --outdir <my_output_directory> &

The previous command will search for the MCD43A1/2 files below <my_data_directory_root> that relate to tile h17v04 and save the Stage 1 and Stage 2 priors in <my_output_directory>.

The data

Stage 1 priors are written for each 8 day period in the year, for the three kernels and have two bands: the mean and the “weight” (or inverse of the variance). Stage 2 priors are given per kernel, and have 366 bands, each of them with the prior mean for that particular day. The uncertainty associated with the Stage 2 prior has not been calculated.

Metadata

Release files for globalbedo_prior 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for globalbedo_prior 1.0.2
File Size Uploaded
globalbedo_prior-1.0.2.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for globalbedo_prior 1.0.2
File Interpreter ABI Platform
globalbedo_prior-1.0.2.linux-x86_64.tar.gz Details

Total release size: 22.3 kB

Release files / globalbedo_prior-1.0.2.tar.gz

Download URL globalbedo_prior-1.0.2.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
067e4395a58b437e11a2ccb89f095a258e5d67b3a39ce2bda82b96480743e060
BLAKE2b-256 checksum
How to use checksums
8cdc93b527cc0ffa5e1841b38a9d436f9fccb0c7d7eea1a858ce7c22a74761c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / globalbedo_prior-1.0.2.linux-x86_64.tar.gz

Download URL globalbedo_prior-1.0.2.linux-x86_64.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7bcd89ae7839372cf0034f1b2c32838df63b6c2a8cc5253dfd542ee2650527fd
BLAKE2b-256 checksum
How to use checksums
b4e93f41d82a48aa9b53ed5aeccc396e156b4b8a33a9c842da13b81713d895c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page