NetCDF in QGIS tutorial



Similar documents
Image Registration. Using Quantum GIS

WEB MAPPING TOOL DOCUMENTATION

smespire - Exercises for the Hands-on Training on INSPIRE Network Services April 2014 Jacxsens Paul SADL KU Leuven

Lesson 15 - Fill Cells Plugin

Latin American and Caribbean Flood and Drought Monitor Tutorial Last Updated: November 2014

Supervised Classification workflow in ENVI 4.8 using WorldView-2 imagery

Files Used in this Tutorial

HELCOM Data and Map Service. User Manual

Working with Office Applications and ProjectWise

MrSID Plug-in for 3D Analyst

Version 3.0, April 16, 2012, updated for ArcGIS 10.0 Produced by the Geographic Information Network of Alaska

GVSIG USER MANUAL 3D PLUGIN

ILLUMINATE ASSESSMENT REPORTS REFERENCE GUIDE

CI Financial Exception Dashboard. User Manual

Why are we teaching you VisIt?

Market Pricing Override

QGIS LAB SERIES GST 102: Spatial Analysis Lab 6: Vector Data Analysis - Network Analysis

Remote Viewer Recording Backup

Creating Your Personal Website

Running and Scheduling QGIS Processing Jobs

Guide to Using Citrix at SLU (Windows)

Crystal Print Control Installation Instructions for PCs running Microsoft Windows XP and using the Internet Explorer browser

To Begin Customize Office

INTRODUCTION to ESRI ARCGIS For Visualization, CPSC 178

Chapter 6: Data Acquisition Methods, Procedures, and Issues

Creating a New Search

Novell ZENworks Asset Management 7.5

GEO 425, Spring 2012 LAB 3: Introduction to Web Map Services

Configure Single Sign on Between Domino and WPS

NetCDF Tutorial. Copyright Esri All rights reserved.

Shuffling Quantum GIS into the Open Source GIS Stack

WHAT S NEW IN OBIEE

Fireworks 3 Animation and Rollovers

Tutorial. VISUALIZATION OF TERRA-i DETECTIONS

University of Arkansas Libraries ArcGIS Desktop Tutorial. Section 4: Preparing Data for Analysis

Mitigation Planning Portal (MPP) Tutorial Canned Reports Updated 5/18/2015

Building a Python Plugin

How to create pop-up menus

MicroStrategy Analytics Express User Guide

An Introduction to Open Source Geospatial Tools

Creating Fill-able Forms using Acrobat 8.0: Part 1

Remote Access (VPN) User Instructions. 1 Printed: 10/10/11

How to install and use the File Sharing Outlook Plugin

Business Intelligence Office of Planning Planning and Statistics Portal Overview

Sharperlight Web Interface

Introduction to OpenOffice Writer 2.0 Jessica Kubik Information Technology Lab School of Information University of Texas at Austin Fall 2005

Tutorial 8 Raster Data Analysis

Sustainability Dashboard Quick Start Guide

DATA MINING TOOL FOR INTEGRATED COMPLAINT MANAGEMENT SYSTEM WEKA 3.6.7

QQ WebAgent Quick Start Guide

Census Data: Access, Mapping and Visualization

A Workflow for Creating and Sharing Maps

Citrix Client Install Instructions

McIDAS-V Tutorial Displaying Polar Satellite Imagery updated September 2015 (software version 1.5)

mystanwell.com Installing Citrix Client Software Information and Business Systems

FileBound: Internet Settings & Requirements

Adobe Illustrator CS5 Part 1: Introduction to Illustrator

Creating Maps in QGIS: A Quick Guide

Printing Guide. MapInfo Pro Version Contents:

Getting Census Data into ArcMap or ArcView. Obtaining Shapefiles from ESRI and Data from the Census Bureau

Enterprise Asset Management System

Dashboard Designer. Introduction Guide. Basic step by step guide to creating a Dashboard. June 2012 V1.2

Upgrade of Business Systems Data Warehouse Reporting

4. Are you satisfied with the outcome? Why or why not? Offer a solution and make a new graph (Figure 2).

Making TIFF and EPS files from Drawing, Word Processing, PowerPoint and Graphing Programs

MapInfo Professional Version Printing Guide

Using Impatica for Power Point

ACCESS Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818)

SuperOffice AS. CRM Online. Installing the Citrix Online Web plug-in

Part II Acrobat 8 Professional

Internet Explorer Settings for use with Privia

Business Objects Enterprise version 4.1. Report Viewing

RIFIS Ad Hoc Reports

Distributing forms and compiling forms data

Raster: The Other GIS Data

Glogster.com. Type code from box above

Remote Desktop Web Access. Using Remote Desktop Web Access

VisIt Visualization Tool

Vodafone Business Product Management Group. Hosted Services Announcer Pro V4.6 User Guide

Apache JMeter HTTP(S) Test Script Recorder

SimplyMap Canada Tutorial

Best Practices. Understanding BeyondTrust Patch Management

Animating in Inventor Studio the basics

KeePass Getting Started on Windows

Business Objects Reports Influenza Vaccinations User Guide

HydroDesktop Overview

Appendix A How to create a data-sharing lab

Quick Start Using DASYLab with your Measurement Computing USB device

Create a folder on your network drive called DEM. This is where data for the first part of this lesson will be stored.

Introduction to Microsoft Excel 2007/2010

Extracting Publications and Citations from Scopus

Quick use reference book

The Rocket Steam Locomotive - Animation

Microsoft PowerPoint 2008

Colligo Contributor File Manager 4.6. User Guide

Intro to evis: the event visualization tool

How To Create a Movie in WeVideo

Transcription:

NetCDF in QGIS tutorial Gregory Giuliani University of Geneva - EnviroSPACE http://www.unige.ch/envirospace Geo For All http://www.geoforall.org http://www.osgeo.org/ http://icaci.org/

CONTENT Displaying a raster layer from a netcdf file Opening a netcdf file in QGIS Display a specific time step Classifying a NetCDF layer Exporting a specific time step in GeoTiff Displaying information on the NetCDF file Creating a temperature table at a specific location Value tool gdal2xyz Finding temperature difference between two time steps Creating a temporal animation Loop Visible Layers Time Manager plugin 3 3 5 7 8 9 11 11 11 13 15 15 15 NetCDF in QGIS tutorial by Gregory Giuliani is licensed under a Creative Commons Attribution 4.0 International License. 2

Displaying a raster layer from a netcdf file Download data from the NOAA ESRL portal: http://www.esrl.noaa.gov/psd/cgi- bin/dataaccess.pl?db_dataset=cdc+derived+ncep+reanalysis+products+press ure+level&db_variable=air+temperature&db_statistic=mean&db_tid=40338& DB_did=37&DB_vid=989 Opening a netcdf file in QGIS NetCDF format is natively supported in QGIS. To open a NetCDF file, go to : Layer- >Add Raster Layer You will be prompted to select which NetCDF file to open, which coordinate reference system to use (in our case WGS 84), and which variable to import. 3

To change the rendering of your data Right- Click on the layer and select Properties. You can change the rendering of your data under the Style tab. Render type: Singleband gray Load button (under Load min/max values) Contrast enhancement: Strech to MinMax OK Your data is now visible in a streched gray version. 4

Display a specific time step Currently QGIS handles each time slice has a single Band. So if you wish to select a specific time step, you have to select the corresponding band under the Style tab! Another option is to use the NetCDF Browser plugin. To download and install the NetCDF Browser plugin go to: Plugins > Manage and Install Plugins Search for «netcdf» in the All tab. Select and Install NetCDF Browser. 5

Once installed, the NetCDF Browser plugin should appear in your tool bar. Click on the NetCDF Browser icon to launch it. You will be asked to select your NetCDF data set. Select the time slices you wish to display by clicking on Select button next to the time variable. and select the dates you wish to to display. 6

Click on Add Selection and all selected layers will be visible in your Table of Content. Classifying a NetCDF layer If you wish to classify one layer with a color ramp, you have to : 1. Right- click on the selected layer > Properties 2. Under Style tab > Render type : select Singleband pseudocolor 3. Click on the Classify button (do not forget to invert the color ramp) 4. OK 7

Your layer is now classified with 5 classe and a color ramp. Exporting a specific time step in GeoTiff You can export in GeoTiff a specific time step. 1. Right- Click on the Selected layer 2. Save As 3. You will be prompted with the following window 8

You can export either the Raw data (complete data set) or the Rendered Image (only the selected one with the desired classification). You can also, create subset by changing extent values, and change also the resolution of your data set. 4. Keep default values and select Rendered image. 5. OK > your layer is now saved in GeoTiff. Displaying information on the NetCDF file If you wish to display information on your data set you have two options. 1. Get Summary Information on your dataset : Right- click on the selected layer > Properties > General You have basic information such as the name of the layer, source, CRS. 9

2. Under the Metadata tab > Properties, you can access more detailed information (that can be also displayed using Raster > Miscellaneous > Information) 10

Creating a temperature table at a specific location So far it is not possible to extract a temperature table at a specific location. However, there are two plugins (Value tool, gdal2xyz) that can be useful to retrieve temperatures based on location. Value tool Load the complete NetCDF data set (Layer > Add Raster Layer ) Install and launch the Value tool plugin. This is a docket widget that allows you to explore values layers as table or graphs. Click on a specific location (you have the coordinate of the point on the bottom of the plugin window) and you can display values as a table or as a graph. You can select the table (Ctrl + A) and copy/paste the value in an Excel table. gdal2xyz The second option is to use the gdal2xyz tool that is available in Processing > Toolbox, under GDAL/OGR > [GDAL] Conversion 11

You have to select a time slice (e.g., dand number) and give a name to the Output file (in csv format). Click Run Each line of the CSV file correspond to XY coordinates and the value of the pixel. 12

Finding temperature difference between two time steps Use the NetCDF Browser to extract two layers at different date. Then go to: Raster > Raster Calculator Double click on your first layer, then click on -, and finally double- click on the second layer. The expression should look like: "temperatures.nc_time=2000-01- 01_band=001@1" - "temperatures.nc_time=2014-01- 01_band=169@169" Give an Output layer name: tempdifferences.tif OK With a color ramp (5 class, inverted), the result will look like: 13

You can do the same operation using the Graphical Modeler (Processing > Graphical modeler). Inputs: create two Raster Layer and give them a name Algorithms: search for mapcalculator and select the GRASS command r.mapcalculator Double click on it > fill correctly the information (raster layers, Formula) Run the model 14

Creating a temporal animation You have two options to create animations 1. Using the Loop Visible Layers plugin 2. Using the Time Manager plugin Install the two plugins Loop Visible Layers Use the NetCDF Browser to extract some layers. Open the Loop Visible Layers plugin Click on the Play control and you will see your different displayed in a loop. Unfortunately you cannot save your animation. Time Manager plugin Time Manager adds time controls to QGIS. Using these time controls, you can animate vector features based on a time attribute. There is also an experimental raster layer support. You can create animations directly in the map window and export image series. Moreover there are several bugs related to QGIS 2.x You can have a look to this video, to understand how Time Manager currently handles NetCDF data: https://www.youtube.com/watch?v=qdijfgqhspi 15