Change por q99 and all models.

This commit is contained in:
Mario Gil 2022-06-03 15:35:49 -05:00
parent 221f580315
commit ca51ed0559
1 changed files with 4 additions and 4 deletions

View File

@ -158,7 +158,7 @@ def ExtractMapImage(file,colormap,countyear,name,nc,geometry=""):
Min=np.around(np.nanquantile(ncVar[int(year)-1985,:,:].values, 0.01),2)
Max=np.around(np.nanmax(ncVar[year-1985,:,:].values),2)
Max=np.around(np.nanquantile(ncVar[int(year)-1985,:,:].values, 0.99),2)#np.around(np.nanmax(ncVar[year-1985,:,:].values),2)
image_to_url(data,name, colormapD=lambda x: get_color(x,colormap,Min,Max), origin="lower")
@ -194,9 +194,9 @@ def ProcessAllImage(ssp,model,Colorpalete,ExportDirectory,DataDirectory):
now=time.time()
print(cc,(start-now)/cc,(start-now)/cc*(Total-cc))
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"]
ssp=("ssp245","ssp370","ssp585")
model=("BCC-CSM2-MR","CESM2","CanESM5","EC-Earth3","EC-Earth3-unMask","IPSL-CM6A-LR","MIROC6","MRI-ESM2-0","NorESM2-MM","ensamble")
Colorpalete=['Spectral','ocean',"coolwarm","RdYlBu"]
ExportDirectory="images/"
DataDirectory="maps/"