Skip to content

tsooryakie/skyglow-fft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skyglow FFT - Fast Fourier Transform based pipeline for calculation of skyglow extent from VIIRS-DNB imagery

This Python script calculates horizontal skyglow from VIIRS-DNB images via a simple convolution using a Fast Fourier Transform (FFT), as opposed to usual, inefficient pixel-by-pixel methods.

Setup

The dependencies for the scripts are:

  1. Numpy - Mathematical functionality and Linear Algebra
  2. Rasterio - Raster manipulation
  3. Matplotlib - Data Visualisation
  4. Tqdm - Progress Bars
  5. TOML - Python TOML parser

The necessary libraries can be installed via: pip install -r requirements.txt

Running the script

To run the script, use python main.py.

Please, ensure you set up the correct paths, directories and model parameters in the settings.toml file.

Example output: Skyglow Asia

Background

More information on the method can be found in:

Bará, et al. (2019), "Fast Fourier-transform calculation of artificial night sky brightness maps"

Available at: https://arxiv.org/abs/1907.02891

About

Fast Fourier Transform (FFT) based calculation of horizontal skyglow from VIIRS-DNB sensor images

Topics

Resources

License

Stars

Watchers

Forks

Languages