Climate Specific Tools: The cdutil Package. cdutil - overview The cdutil Package contains a collection of sub- packages useful to deal with Climate Data.

Slides:



Advertisements
Similar presentations
WHAT IS STEAM PRO? Thermoflow, Inc.
Advertisements

LRF Training, Belgrade 13 th - 16 th November 2013 © ECMWF Sources of predictability and error in ECMWF long range forecasts Tim Stockdale European Centre.
Lessons learned in C20C “Pacemaker” experiments James L. Kinter Ⅲ and K. Emilia Jin Center for Ocean-Land-Atmosphere Studies, USA James L. Kinter Ⅲ and.
Spatial and Temporal Variability of GPCP Precipitation Estimates By C. F. Ropelewski Summarized from the generous input Provided by G. Huffman, R. Adler,
Climate Predictability Tool (CPT)
SCILOV-10 Validation of SCIAMACHY limb operational BrO product F. Azam, K. Weigel, A. Rozanov, M. Weber, H. Bovensmann and J. P. Burrows ESA/ESRIN, Frascati,
FRONTAL SYSTEMS CLIMATOLOGY OVER SOUTHEASTERN SOUTH AMERICA AND ASSOCIATED ATMOSPHERIC CIRCULATION IN A CLIMATE GCM SIMULATION Iracema FA Cavalcanti Luiz.
Using a Centered Moving Average to Extract the Seasonal Component of a Time Series If we are forecasting with say, quarterly time series data, a 4-period.
FORTRAN Short Course Week 4 Kate Thayer-Calder March 10, 2009.
Tahiti, Darwin, and pressure oscillations. SOI = Tahiti - Darwin (normalized)
STEAM PRO is a highly automated system design tool – a heat balance program specifically intended for design of steam power cycles.  Use STEAM PRO to.
Pacific vs. Indian Ocean warming: How does it matter for global and regional climate change? Joseph J. Barsugli Sang-Ik Shin Prashant D. Sardeshmukh NOAA-CIRES.
1 Assessment of the CFSv2 real-time seasonal forecasts for 2013 Wanqiu Wang, Mingyue Chen, and Arun Kumar CPC/NCEP/NOAA.
1 Assessment of the CFSv2 real-time seasonal forecasts for Wanqiu Wang, Mingyue Chen, and Arun Kumar CPC/NCEP/NOAA.
1. List the 5 different kinds of maps that we have studied (tickets if I see you using your notes!). 2. Write down one important thing that you remember.
Multidimensional Arrays C++ also allows an array to have more than one dimension. For example, a two-dimensional array consists of a certain number of.
Hurricane Climatology and the Seasonal Forecast for the 2012 Hurricane Season John Cole and Andrew McKaughan, NOAA/NWS WFO Newport/Morehead City, NC.
Spreadsheet Operations and Functions.  Spreadsheet Operations and Functions increase the efficiency of data entry, the performing of calculations, and.
Chapter 11 Introduction to Classes Intro to Computer Science CS1510, Section 2 Dr. Sarah Diesburg.
European Computer Driving Licence Syllabus version 5.0 Module 4 – Spreadsheets Chapter 22 – Functions Pass ECDL5 for Office 2007 Module 4 Spreadsheets.
Climate Predictability Tool (CPT) Ousmane Ndiaye and Simon J. Mason International Research Institute for Climate and Society The Earth.
Introduction to Hands On Training in CORDEX South Asia Data Analysis
Feature Collections Subsetting 1. Overview 2. NCSS 2.1. Dataset description 2.2. Grid requests 2.3. Grid as point requests 3. CdmrFeature.
Introduction to Hands On Training in CORDEX South Asia Data Analysis
The Seasons There would be no seasons if the Earth were not tilted on it’s axis!  Nick Devereux 2006.
1 Functions 1 Parameter, 1 Return-Value 1. The problem 2. Recall the layout 3. Create the definition 4. "Flow" of data 5. Testing 6. Projects 1 and 2.
13.1 & 13.3 A Closer Look at the Earth and Why we have Seasons Katrina
Weather 13.1 & 13.3 A Closer Look at the Earth and Why we have Seasons
Barcelona, 06 May 2015 s2dverification Seasonal to decadal forecast verification in R Overview Nicolau Manubens.
The La Niña Influence on Central Alabama Rainfall Patterns.
Climate News Study A member of the general public has found a copy of the (attached) graphic on the New York Times website. They see the tag line as NSIDC.
DATA ANALYSIS PROJECT SIMONE PHILLIPS 24 APRIL 2014 EAS 4480.
Modeling with sine or cosine functions. Project Overview What do you know about the sine graph? What do you know about the equation of the sine function?
Seasonal Climate Cycles Solar Radiation at the Earth’s Surface.
IENG 423 Design of Decision Support Systems Modeling with Excel Excel Basics Charts and Graphs to Communicate in Decision Support Systems.
Seasonal variability of UTLS hydrocarbons observed from ACE and comparisons with WACCM Mijeong Park, William J. Randel, Louisa K. Emmons, and Douglas E.
Chapter 1 – Matlab Overview EGR1302. Desktop Command window Current Directory window Command History window Tabs to toggle between Current Directory &
Climate Predictability Tool (CPT) Ousmane Ndiaye and Simon J. Mason International Research Institute for Climate and Society The Earth.
Climate Forecasting Unit CFU R common diagnostics CFU_load CFU_season CFU_clim CFU_anoCFU_anocrossvalid CFU_plotclimCFU_plotano CFU_smoothing CFU_trend.
L3MTO Transfer to CPC Preliminary Meeting February 7, 2008.
Beginning Fortran Fortran (77) Advanced 29 October 2009 *Black text on white background provided for easy printing.
Excel 2007 Part (3) Dr. Susan Al Naqshbandi
Mixed Layer Ocean Model: Model Physics and Climate
Copyright © 2002 W. A. Tucker1 Chapter 9 Lecture Notes Bill Tucker Austin Community College COSC 1315.
00/XXXX 1 Data Processing in PRISM Introduction. COCO (CDMS Overloaded for CF Objects) What is it. Why is COCO written in Python. Implementation Data Operations.
Product-Generation in ESG: some explorations of the user experience and discussion of implications for the design of ESG Steve Hankin & Roland Schweitzer.
Basic Latitude and Longitude
Examining Fresh Water Flux over Global Oceans in the NCEP GDAS, CDAS, CDAS2, GFS, and CFS P. Xie 1), M. Chen 1), J.E. Janowiak 1), W. Wang 1), C. Huang.
1 Recent Reduction in the Area of “EC” in CPC Outlooks and its Relationship to Value Ed O’Lenic, Kenneth Pelman, and David Unger NOAA-NWS-Climate Prediction.
16-1 PC-HYSPLIT WORKSHOP Workshop Agenda Introduction to HYSPLIT Introduction.ppt Model Overview Model_Overview.ppt Meteorological Data Meteorological_Data.ppt.
Graphs How to draw graphs. Asymptotes An asymptote is a horizontal/vertical line which a graphical function tends towards but does not touch, it is represented.
Guidelines for building a bar graph in Excel and using it in a laboratory report IB Biology (December 2012)
Statistical tools: The genutil Package
SUS DATA QUALITY DASHBOARD
Bob Livezey and Marina Timofeyeva
Oliver Elison Timm ATM 306 Fall 2016
Content Objectives: Identify location based on latitude and longitude coordinates. Compare the physical and political regions. Language Objective: Define.
Teleconnections in MINERVA experiments
Comparison to WOA01 climatology (Forget, Heimbach, and Menemenlis)
Harness the Power of Promotional Packages in MX
Understanding Globes and Maps
Seasonal Predictions for South Asia
Geography Terminology
Pre Calculus 11 Section 1.2 Arithmetic Series
[ADD YOUR COURSES DETAILS HERE]
Evaluation of Gridded Snow Products Using CloudSat Snowfall Estimates
Test Review Social Studies Africa.
Extratropical Climate and Variability in CCSM3
Presentation transcript:

Climate Specific Tools: The cdutil Package

cdutil - overview The cdutil Package contains a collection of sub- packages useful to deal with Climate Data Sub-components are: –times: a collection of tools to deal with the time dimension. –region: a “region” selector for rectilinear grids –vertical: already seen earlier in the course –averager: already dealt with earlier in the course –continents_fill: Emulate a VCS graphic method to display filled continents, see docs. –VariableConditioner and VariablesMatcher: A superset of the regridder and time extraction tools, see CDAT docs.

cdutil - “times” module (1) cdutil.times for time axes, geared toward climate data. All seasonal extractions in this module are based on “bounds”, times provides functions to set the bounds correctly (remember: time axis doesn’t have any bounds unless they are in the file). These functions are: cdutil.times.setTimeBoundsMonthly(slab/axis) cdutil.times.setTimeBoundsYearly(slab/axis) cdutil.times.setTimeBoundsDaily(slab/axis,frequency=1) Important note: cdutil imports everything in the times module so you can just call e.g.: cdutil.setTimeBoundsMonthly(slab/axis)

The importance of understanding bounds CDAT used to set bounds automatically. E.g.: longitude = [0, 90, 180, 270]  bounds = [[-45, 45], [45, 135], [135, 225], [225, 315]] Seems reasonable, but imagine a monthly mean time series where the times are recorded on 1 st day of each month: timeax=[“ ”, “ ”, …, “ ”] CDAT assumes that each month represents the period of 15 th last month to 15 th this month. Since cdutil tools use bounds they will be misinterpreting the data. Need to set the bounds sensibly: >>> cdutil.setTimeBoundsMonthly(timeax) 1 st Jan st Feb st Mar 1999 Correct monthly time bounds Incorrect monthly time bounds

Temporal averaging Averaging over time is a special problem in climate data analysis. cdutil makes the extraction of time averages and climatologies simple. Functions for annual, seasonal and monthly averages and climatologies User-defined seasons (such as “FMA” = Feb/Mar/Apr).

Pre-defined time-related means DJF, MAM, JJA, SON (seasons) >>> djf_mean=cdutil.DJF(my_var) SEASONALCYCLE (means for the 4 predefined seasons [DJF, MAM, JJA, SON ]) – array of above. >>> seas_mns=cdutil.SEASONALCYCLE(my_var) YEAR (annual means) ANNUALCYCLE (monthly means for each month of the year) Additional arguments can be passed, the default needs 50% of the season to be present order to assign a value.

Climatologies and departures (1) Season extractors have 2 functions available: climatology: which computes the average of all seasons passed. ANNUALCYCLE.climatology(), will return the 12 month annual cycle for the slab: >>> ann=cdutil.ANNUALCYCLE.climatology(v) departures: which given an optional climatology will compute seasonal departures from it. >>> d=cdutil.ANNUALCYCLE.departures(v, cli60_99) # Note that the second argument is optional but can be a pre- computed climatology such as here cli60_99 is a climatology but the variable v is defined from If not given then the overall climatology for v is used.

Climatologies and departures (2) To calculate long-term averages (over multiple years): DJF.climatology(), MAM.climatology() etc., >>> djf_clim=cdutil.DJF.climatology(my_var) SEASONALCYCLE.climatology() - climatologies for the 4 predefined seasons [DJF, MAM, JJA, SON ] – array of above. YEAR.climatology() - annual mean climatologies. ANNUALCYCLE.climatology() - 12 climatologies, one per month Note: You can replace any of the above to calculate the departure from the climatology

cdutil - “region” module (1) The cdutil.region module allows the user to extract a region “exactly”. i.e. resetting the latitude and longitude bounds to match the area “exactly”, therefore computing an “exact” average when passed to the averager function. Predefined regions are: –AntarcticZone, AAZ (South of latitude 66.6S) –ArcticZone, AZ (North of latitude 66.6N) –NorthernHemisphere, NH # useful for dataset with latitude crossing the equator –SouthernHemisphere, SH –Tropics (latitudes band: 23.4S, 23.4N)

cdutil – “region” module (2) Creating your selector: myselector=cdutil.region.domain(latitude=(lat1,l at2), longitude=(lon1,lon2)) # can be any dimension, but very useful for lat/lon Using the selector: slab2=slab1(myselector)