How to plot Modis and VIIRS grid? Download specific years CSV file from following urls:Firms's website[https://firms.modaps.eosdis.nasa.gov/download/]. Use the dataset to plot grids through the colab file.
The brief description for each file is shown in the table below:
File description | File description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
pip install -r requirements.txt
User should firstly register on NASA's website[https://urs.earthdata.nasa.gov/users/new]. User could use the following command to download automatically MODIS dataset with the user name and corresponding password, the downloaded data will be placed folder "MODIS" in current directory.
python modis_downloader.py --username <username> --password <password>
After downloading the raw data for the desired years, data need to be pre-processed, which involves cropping, cloud and sea pixels elimination and downsampling:
python modis_data_preprocessing.py
Our principle contribution in this project is to design and implement a new deep learning model based on U-net architecture called Multi-residual U-Net. The architecture of this model is shown as below:
To train the network with your tif data, please make sure to put all of the data into a folder and run the following command:
python train.py --datapath <path/to/training/tifs/directory> --model_name <name of the model> --lr <learning rate> --epochs <number of epochs> --batch_size <size of batch> --continue_train <True/False>
P/s: The checkpoint of training process lies in the same directory as the train.py.