Skip to content

seasideGargantua/SG-SL_Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SG-SL_Model

model_architecture

Introduction

In order to identify the light pollution risk level of a location, we divide it into two large categories according to the spatial scale, which are Sky Glow (Large spatial scale at ground level) and Spill Light (Moderate spatial scale at urban level). Based on the definition and causes of light pollution, we developed SG-SL Light Pollution Estimation Model Based on Radiometric and GIS Method.

Quick Start

Code Structure

the code's structure should be as follows:

└─SG-SL_Model
  ├─README.md
  ├─figs
    ├─model_architecture.png
    ├─result.png 
  ├─utils
    ├─dataset.py                      # read data from directory
    ├─hdf2tif.py                      # transform datas from hdf to tif type
    ├─imgtool.py                      # tools that can help the model deal with images
    ├─model.py                        # the boby of our model
    ├─strategy.py                     # the trategy of mitigating light pollution
  ├─main.py                           # main code to run our model

Data Structure

the datas used should be orgnized to the structure as follows:

└─Datasets
  ├─summer
    ├─aerosol
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─dem
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─gas
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─landuse
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─ndvi
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─nightlight
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─pop
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─road
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
  ├─winter
    ├─aerosol
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─dem
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─gas
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─landuse
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─ndvi
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─nightlight
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─pop
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan
    ├─road
      ├─ezhou
      ├─jianshi
      ├─shennongjia
      ├─wuhan

Depandency Package

GDAL 2.4.1 argparse 1.4.0 numpy 1.21.6 scipy 1.7.3

Usage

you can run the code through the next command

python main

Result

The following is an example of the output results in Ezhou summer result

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages