Introducing R-Instat - EUMETSAT

14
For the training course on The Use of Gridded Satellite Data for Climate Services in Africa Roger Stern, Danny Parsons, Sebastian Steinmüller Statistics for Sustainable Development (Stats4SD) Introducing R-Instat 1

Transcript of Introducing R-Instat - EUMETSAT

Page 1: Introducing R-Instat - EUMETSAT

For the training course on

The Use of Gridded Satellite Data for Climate Services in Africa

Roger Stern, Danny Parsons, Sebastian Steinmüller

Statistics for Sustainable Development (Stats4SD)

Introducing R-Instat

1

Page 2: Introducing R-Instat - EUMETSAT

• Crowd Sourcing campaign 2015

• Identified a gap in statistical software

• Work in Africa and UK

• The R-Instat software will be offered for the first time

• R-Instat • Based on the R statistical system

• With the same ideas as the original Instat

Background to R-Instat

2

Page 3: Introducing R-Instat - EUMETSAT

• Simple Statistics package

• Easy to use

• With a special climatic menu.

• Still used (2017) by many National Met Services

• Free to download

• Includes “tailored products” • Start of the rains • Length of the rainy season • Risk of long dry spells

• Soon to be replaced by R-Instat

The Original Instat

3

Page 4: Introducing R-Instat - EUMETSAT

• Very powerful statistical system

• Free and open source

• RStudio makes it easier to use

• Use through commands or scripts

• Over 5,000 extra packages add to the facilities

• Including CM SAF package used in this workshop • Together with special scripts for specific

analyses

The R Statistical System

4

Page 5: Introducing R-Instat - EUMETSAT

• Menu-driven front end to R

• Designed to make R really easy to use

• Particularly for those who already use a spreadsheet.

• Like Instat it is a general statistics package

• With a special climatic menu.

• Free to download

R-Instat

5

Page 6: Introducing R-Instat - EUMETSAT

• CM SAF will be used to manage and analyse the satellite data

• R-Instat will support the comparison of the satellite data with the data from the ground stations

• And could do further analyses of the satellite data

6

In this workshop

Page 7: Introducing R-Instat - EUMETSAT

7

CM SAF R TOOLBOX R-Instat

• Prepare CM SAF NetCDF data, from

tar-file to ready-to-use NetCDF

• Analysis and visualization of CM SAF

spatial data

• Quick and easy-to-use functions

• Click and point (menu based) general statistics

software

• Special climatic menu to analysis historical

records

• Many dialogs for further analysis e.g.

comparison between satellite and station data

CM SAF satellite-based data records Time series of station data

Prepare ordered data with CM SAF

R Toolbox

Extract satellite-based data at

station locations

Check the quality of your station data

Compare satellite and station data. Get an

estimate of satellite data quality

Go spatial have a look how CM

SAF data can complement your

station data

Explore parameters, which are not provided by station measurements

Analyze CM SAF data at locations of your

choice

Page 8: Introducing R-Instat - EUMETSAT

R-Instat easy to use?

8

Page 9: Introducing R-Instat - EUMETSAT

Similar to a spreadsheet for data analysis?

Multiple sheets (data frames)

Data in “columns” – one type of data only per column

Name at the top of column

Data start at row 1

Just a window onto the data

Results in a different window

Page 10: Introducing R-Instat - EUMETSAT

The menus in R-Instat

10

Import data from Excel ,etc

Organise data for the forthcoming analysis

Descriptive analyses: Produce the required tables and graphs according to the objectives

Fit and use the appropriate statistical model s

All of the above for climatic data

Page 11: Introducing R-Instat - EUMETSAT

Example: Prepare – Annual totals from daily data

11

Page 12: Introducing R-Instat - EUMETSAT

Example - Describe: Boxplots to check data

12

Page 13: Introducing R-Instat - EUMETSAT

Example - Climatic: Inventory

13

Page 14: Introducing R-Instat - EUMETSAT

In this workshop

14

File > Open From File for the station data In many different formats

Climatic > File > Open NetCDF For satellite data in nc files.