21 lines
566 B
Markdown
21 lines
566 B
Markdown
# NetcdfToPng
|
|
|
|
Script to extract png file since Netcdf, It aplicate a color palete.
|
|
|
|
## Installation
|
|
|
|
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install the requirements.
|
|
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
## Usage
|
|
|
|
```python
|
|
ssp=("ssp245","ssp370"),#"ssp585",
|
|
model=("BCC-CSM2-MR","CESM2")#"CanESM5","EC-Earth3","IPSL-CM6A-LR","MIROC6","MRI-ESM2-0","NorESM2-MM"
|
|
Colorpalete=["RdYlBu",'Spectral','ocean',"coolwarm"]
|
|
ExportDirectory="images/"
|
|
DataDirectory="maps/"
|
|
ProcessAllImage(ssp,model,Colorpalete,ExportDirectory,DataDirectory) |