1 Sylvia Murphy National Center for Atmospheric Research File Handling with CMPS.

Slides:



Advertisements
Similar presentations
Climate Models.
Advertisements

Introduction to Java 2 Programming Lecture 4 Writing Java Applications, Java Development Tools.
Version 2.0 © Copyright 2008 ANB Software Ltd. ActivMan 2.0 Scenarios Basic Features Templates Mass Manipulation Importing Auto Importing Extracting from.
Tutorial 3 Refractor assignment, Analysis, Modeling and Statics
ATMO5332 WRF-ARW Tutorial 0.01”.
Introduction to Matlab
M AT L AB Programming: scripts & functions. Scripts It is possible to achieve a lot simply by executing one command at a time on the command line (even.
Introduction to MATLAB for Biomedical Engineering BME 1008 Introduction to Biomedical Engineering FIU, Spring 2015 Lesson 2: Element-wise vs. matrix operations.
DataTools Models Data, models and tools: Dealing with any complex hydraulic engineering problem invariable use is made of: data, models and tools.
NCAS Unified Model Introduction Part 1b: Running the UM University of Reading, 3-5 December 2014.
Combining NCL and Fortran in C-shell
Modeling Past and Future Climate Changes
CHyM tutorial Marco Verdecchia – Trieste, September 8/9, 2011.
Time Series Analysis Autocorrelation Naive & Simple Averaging
Card 1. MODTRAN Card deck/Tape5_Edit Tutorial Explanation of Parameters & Options.
Concatenation MATLAB lets you construct a new vector by concatenating other vectors: – A = [B C D... X Y Z] where the individual items in the brackets.
Marine GIS Applications using ArcGIS Global Classroom training course Marine GIS Applications using ArcGIS Global Classroom training course By T.Hemasundar.
7/17/2009 rwjBROOKDALE COMMUNITY COLLEGE1 Unix Comp-145 C HAPTER 2.
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
TIGGE Archive Highlights. First Service Date ECMWF – October 2006 NCAR – October 2006 CMA – June 2007.
Lesson 11-Locating, Printing, and Archiving User Files.
Driving UM-SCM with reanalysis / model data Vaughan Barras ACCESS Model Development Group.
Internet and Distributed Representation of Agent Based Model by- Manish Sharma.
JRN 440 Adv. Online Journalism Resizing and resampling Monday, 2/6/12.
NetCDF Operators 1 netCDF Operators [NCO]
UNIX Commands. Why UNIX Commands Are Noninteractive Command may take input from the output of another command (filters). May be scheduled to run at specific.
RAMS Evaluation and Visualization Utilities (REVU) Post Processing.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
Click “Insert” for graph Select “Column”, 2-D. Right-click on blank graph and go to “Select Data” ADD a new series.
1 DSARCH OVERVIEW Dataset Archiving Utility Overview By Zaihua Ji.
A graph represents the relationship between a pair of variables.
CKD Workshop  30 March 2011  Jim Kinter  Data Lessons from Project Athena GrADS Station Data Model Used for in situ observational data Individual reports.
WRF Four-Dimensional Data Assimilation (FDDA) Jimy Dudhia.
Climate Forecasting Unit CFU R common diagnostics CFU_load CFU_season CFU_clim CFU_anoCFU_anocrossvalid CFU_plotclimCFU_plotano CFU_smoothing CFU_trend.
5 1 Data Files CGI/Perl Programming By Diane Zak.
University of Wisconsin – Madison Engine Research Center GTI-ERC Senkin Quick Reference pg. 1 Sponsors and Contributors Chol-Bum Kweon and John Pratapas.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Introduction to MATLAB 7 for Engineers William J. Palm.
Integrating QDEC with Slicer3 Click to add subtitle.
Manage Directories and Files in Linux Part 2. 2 Identify File Types in the Linux System The file types in Linux referred to as normal files and directories.
OPeNDAP Hyrax Harnessing the power of the BES OPeNDAP Hyrax Back-End Server Patrick West
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Matrices: Simplifying Algebraic Expressions Combining Like Terms & Distributive Property.
The Digimap ShareGeo Facility Login to Digimap and select ShareGeo from the Collections page.
Post Processing Tools Sylvia Murphy National Center for Atmospheric Research.
INTRODUCTION TO MATLAB DAVID COOPER SUMMER Course Layout SundayMondayTuesdayWednesdayThursdayFridaySaturday 67 Intro 89 Scripts 1011 Work
10 th Argo data management 2009 Toulouse What is new at GDACs ?
0 0 July, 2009 WRF-Var Tutorial Syed RH Rizvi WRFDA Analysis/Forecast Verification Syed RH Rizvi National Center For Atmospheric Research NCAR/ESSL/MMM,
EValid LoadTest, eV.manger and Validation. Agenda Load Test capability of eValid How to execute load test by using eValid Introduction to eV.manager Validation.
Lesson 6-Using Utilities to Accomplish Complex Tasks.
Air pollutants, such as aerosols and various trace gases, are transported on a hemispheric or global scale. The Task Force on Hemispheric Transport of.
NetCDF Operators 1 netCDF Operators [NCO]
Generic Lake Model (GLM) 1. High Profile Water Quality Issues.
NcBrowse: A Graphical netCDF File Browser Donald Denbo NOAA-PMEL/UW-JISAO
FILES AND EXCEPTIONS Topics Introduction to File Input and Output Using Loops to Process Files Processing Records Exceptions.
Lesson 5-Exploring Utilities
NEMO – Reformating tool
GML in CDI and CSR ISO using Ends&Bends
Andrew White, Brian Freitag, Udaysankar Nair, and Arastoo Pour Biazar
Introduction to Metview
WRF Four-Dimensional Data Assimilation (FDDA)
INTRODUCTION TO UNIX: The Shell Command Interface
Graphing.
Topics Introduction to File Input and Output
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Amos Introduction In this tutorial, you will be briefly introduced to the student version of the SEM software known as Amos. You should download the current.
cfplot Contour and vector plots in Python
by Thomas R. Karl, Anthony Arguez, Boyin Huang, Jay H
NCL variable based on a netCDF variable model
Topics Introduction to File Input and Output
Clip & Convert to ASCII Program Kelly Knapp Spring 2010
Presentation transcript:

1 Sylvia Murphy National Center for Atmospheric Research File Handling with CMPS

2 Getting Started Utilities located on dataproc only. Put /contrib in your PATH Execute script in local directory or include full path

3 Extract variables from a GROUP of netCDF files Will process ALL *.nc files in the directory. Each file must have an UNLIMITED record dimension. Output file is esvc.nc usage: esvc.scp v1,v2,…,vN U V Concatenated File ESVC

4 Extract a single layer from variables in a netCDF file. Output file is topbot.nc Required modifiers: – name of the dimension to be indexed – array index to be extracted – variables to extract usage:topbot.scp dim inx v1,v2,…,vN filename 20 m Single Level Extraction

5 extract ALL 2D variables in a netCDF file. output file is filename_2d.nc usage: e2d.scp file.nc Extract 2D Variables

6 Extract a subregion from variables in a netCDF file. Several required modifiers: latmin and latmax lonmin and lonmax “-o” option indicates an oceanic file usage: subext.scp latmin latmax lonmin lonmax [-o] [-v v1,v2,…,vN] file Subregion Extraction

7 Calculates weighted horizontal average Can average over an oceanic basin or subregion Output file is filename_have.nc usage: have.scp [-m int] [-sr latmin,latmax,lonmin,lonmax] [-v v1,v2,…,vN] file Uses Gaussian weights (gw) Uses ocean area calculation Weighted Horizontal Average

8 Weighted volume average of variables in a netCDF file. Can average over oceanic basin or over a subregion Output file is filename_volave.nc usage: volave.scp [-m int] [-sr latmin,latmax,lonmin,lonmax] [-v v1,v2,…,vN] file Uses gw and delta pressure (dp) Uses ocean volume calculation Weighted Volume Average

9 Calculates zonal average of variables in a netCDF file. Output file is filename_zonal.nc Can average over an oceanic basin usage: zave.scp [-m int] [-v v1,v2,…,vN] file Zonal Average

10 Calculate difference between variables in two netCDF files Time dimension removed automatically from mean files “-m” option indicates an anomaly calculation Output file is cmps_anom.nc if one file is a mean file, otherwise it is cmps_diff.nc. usage: diff.scp [-m int] [-v v1,v2,…,vN] file1 file2 Difference/Anomalies

11 Calculate weighted RMSE variables in netCDF files. Output is rmse.nc Can be calculated over an ocean basin or subregion “-l” option calculates a volume RMSE for 3D variables. usage: rmse.scp [-m int] [-sr latmin,latmax,lonmin,lonmax] [-v v1,v2,…,vN] file Root Mean Squared Error

12 Multiply variables in the variable list by the set of constants and output results to a netCDF file At least one variable and corresponding factor must be provided. Can calculate over an oceanic basin usage: mult.scp -v v1,v2,v3 -f f1,f2,f3 [-m int] filename Multiplication

13 Adds variables in list and outputs results to netCDF file. Name of resultant calculation is required Can calculate over ocean basin. If LSM file, then all ocean points are excluded regardless of basin index listed. usage: add.scp -v v1,v2,…,vN -n name [-m int] filename Addition

14 Longitude Level Latitude 20  C Extracts iso surface of a given value from a netCDF file Output file is iso_filename.nc Variable and value to be extracted must be specified Works with variables that either increase or decrease with depth usage: iso.scp T 20 ocean_1.nc Isolevel Extraction

15 Extracts iso surface of a given value from a netCDF file Interpolates a second variable to that iso surface Output file is iso_interp_filename.nc Variable and value to be extracted plus variable to be interpolated must be specified usage: iso_interp.scp T CFC 20 ocean_1.nc Isolevel Interpolation Longitude Level Latitude CFC Longitude Level Latitude 20  C

16 Calculate the great circle path between two points, and interpolate model data to path. -p produces a plot in addition to file Output is filename_title.nc Number of points (npts) to interpolate is required usage: trans.scp leftlat,leftlon,rightlat,rightlon npts, title [-p] [-v v1,v2,…,vN] filename Transect

17 Extracts a time series from each point given. Output file is filename_tsext.nc -a option will output individual ascii files usage: tsext.scp latarray lonarray [-a] [-v v1,v2,…,vN] file Time Series Extraction Time

18 Weighted vertical average of variables in a NCOM netCDF file. Can average over oceanic basin or over a subregion Output file is filename_vertave.nc usage: vertave.scp [-m int] [-sr latmin,latmax,lonmin,lonmax] [-v v1,v2,…,vN] file Vertical Average NCOM Ocean files only

19 Resources Downloadable users manual: On-line version of this presentation: On-line home page: