c3s-magic / c3s-magic-frontend

C3S Magic Frontend
http://portal.c3s-magic.eu
MIT License
0 stars 8 forks source link

DIAGNOSTIC: drought indicator #68

Closed PeterBergSMHI closed 6 years ago

PeterBergSMHI commented 6 years ago

First simple indicator for calculating meteorological drought by consecutive dry days. Can you please assist with setting up the portal page? The yml file would look something like this: Netcdfs for plotting are here (see instructions at the end): https://drive.google.com/drive/u/1/folders/1tUyXlsT2XY4MfBkD4H8khEsBBBVt6_Cc


name: Drought Indicator partner: SMHI authors:

Both of the below images are to be plotted as maps, preferrably with a "dry conditions" appeal such as the color range 'YlOrBr' from Colorbrewer (http://colorbrewer2.org/)

Fig. 1: Plot the file CMIP5_bcc-csm1-1-m_day_historical_r1i1p1_T2Ms_pr_1990-1999_drymax.nc

Caption: Longest period of consecutive dry days, defined as days with less than 'Dry day limit'.

Fig. 2:

Plot the file CMIP5_bcc-csm1-1-m_day_historical_r1i1p1_T2Ms_pr_1990-1999_dryfreq.nc

Caption: Number of periods of more than 'Minimum duration limit'.

nielsdrost commented 6 years ago

Thanks! Will add to the portal.

nielsdrost commented 6 years ago

Can you supply images for the netcdf files as well? I'm not sure we will be able to create an interactive map right now.

PeterBergSMHI commented 6 years ago

Two png images are now in the same gdrive folder as before: https://drive.google.com/drive/u/1/folders/1tUyXlsT2XY4MfBkD4H8khEsBBBVt6_Cc

nielsdrost commented 6 years ago

I've integrated this into the portal. Could you have a look?

http://portal.c3s-magic.eu/#/diagnostics

If you spot a typo, you can make changes in the source here: https://github.com/c3s-magic/c3s-magic-frontend/tree/master/src/static/diagnosticsdata

PeterBergSMHI commented 6 years ago

Looks good! Thanks!