Analysis Methods in Atmospheric and Oceanic Science

Similar documents
Analysis Methods in Atmospheric and Oceanic Science

Analysis Methods in Atmospheric and Oceanic Science AOSC 652. Introduction to MATLAB. Week 8, Day Oct 2014

Introduction to IDL. Week 8, Day Oct 2016

Getting Started With Linux and Fortran Part 2

Analysis Methods in Atmospheric and Oceanic Science

Analysis Methods in Atmospheric and Oceanic Science

Introduction to R Commander

Stream Depletion Factor Model SDF View

Building and Customizing an Interactive Report

Introduction to Minitab 1

SeeG3 Users Manual V2.00 Micro-g Solutions Inc. Erie, Colorado, USA

Importing Geochemical Data

FLNET Users Manual 7.2. Generated by Doxygen Mon Oct :23:32

Chapter 2 Assignment (due Thursday, April 19)

Gradebook Export/Import Instructions

May not be distributed except as part of a system distributed by a registered AltFileSearch licensee

Tennessee Society Sons of the American Revolution On-Line Application Log Database

Technical Documentation Version 7.3 Output

Chapter 2 Assignment (due Thursday, October 5)

Conditional Formatting

N2KExtractor. NMEA 2000 Data Extractor Software. User s Manual

Lession #5: Adding a New Salary Using Batch Uploads

CNS FARM PRODUCT MONTHLY LIST USER INSTRUCTIONS TO FILTER FOR MONTHLY UPDATES OF NEW/ORIGINAL FILINGS

Analysis Methods in Atmospheric and Oceanic Science

Prac%cal: Using the Giovanni tool to inves%gate variability in phytoplankton Stephanie Henson

ITACS : Interactive Tool for Analysis of the Climate System

Hostopia WebMail Help

MSRS Roadmap. As of January 15, PJM 2019

INTEL PARALLEL STUDIO XE EVALUATION GUIDE. Static Security Analysis (SSA)

MiniBase Workbook. Schoolwires Centricity2

sohodox Quick Start Guide

Athletic schedules Book lists Coaches Alumni. District

Using Numbers, Formulas, and Functions

Honors Algebra 3-4 Mr. Felling Expanded Topic - Curve Fitting Extra Credit Project

Goals for This Lecture:

SGS PRIME COGO. Version Reference Manual. November 12,

Fluidity Trader Historical Data for Ensign Software Playback

ChronoForms v3.0 Tutorials #5 Saving data to the database.

Searching and Favorites in Datatel Web UI 4.3

TerraStation II v7 Training

Exercise: Calling LAPACK

UCINET Quick Start Guide

PIER USER GUIDE Property Income and Expense Return (PIER) on AboutMyProperty

Frequently Asked Questions (FAQ) ONEOK Interstate Interactive Pipeline System Maps (IIPSM)

Lab 1. Introduction to R & SAS. R is free, open-source software. Get it here:

To Do Panel. Contents

ISETL Getting Started Guide

9.3 WEB-BASED PAN. Post Authorization Notification Functions (Web PAN) Opening a PAN: Deleting PANs From Your Inbox: Status and Type Columns: 9.

GENERAL KNOWLEDGE, SPECIAL TOPICS, & REVIEW

We will now go through these steps in more detail before beginning the actual import exercises.

My IRIS Web Inbox Approving the Electronic Ledger Reconciliation

My Practice Profile Attestation QUICK REFERENCE

An Introduction to Python

Catalyst Views. 1. Open your web browser and type in the URL address line:

Lab 1 Introduction to R

The following instructions cover how to edit an existing report in IBM Cognos Analytics.

Assignment 4: Object creation

How To Log Into MDX. How To Print Your Memberships MDX Forms

RClimTool USER MANUAL

Appendix A OPENING AN EXCEL SPREADSHEET: To start working with a blank Excel spreadsheet, you should: 1. Log on to your station s computer.

1. Setup Everyone: Mount the /geobase/geo5215 drive and add a new Lab4 folder in you Labs directory.

Blog Pro for Magento 2 User Guide

Introduction. Welcome to the new CPD Area!

Promo Buddy 2.0. Internet Marketing Database Software (Manual)

CS370 Operating Systems

HPO Workbench Documentation

EXST 7014, Lab 1: Review of R Programming Basics and Simple Linear Regression

Intellicus Enterprise Reporting and BI Platform

Batch Scheduler. Version: 16.0

User Guide. Customer Self Service (CSS) Web Application Progress Software Corporation. All rights reserved.

Individual Student Assessment Accessibility Profile (ISAAP)

Using the GLOBE Visualization System

Premier ebill Enhancements

Evolution Query Builder Manual

Code Plug Management: Contact List Import/Export. Version 1.0, Dec 16, 2015

By following this instruction you ll be able to create something like the picture below that you can access from anywhere.

ESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 7 Input/Output

ScholarOne Manuscripts. COGNOS Reports User Guide

Welcome to Cole On-line Help system!

State of Texas Air Reporting System. Annual Emissions Inventory Report (AEIR) Web-based Submission Process. For Submitting a Single File (Phase 1)

Variable Definition and Statement Suppression You can create your own variables, and assign them values using = >> a = a = 3.

Opera Web Browser Archive - FTP Site Statistics. Top 20 Directories Sorted by Disk Space

ACTIVE Net Insights user guide. (v5.4)

write (unit=*,fmt=*) i =, i! will print: i = 3

Kenora Public Library. Computer Training. Introduction to Excel

ANOMALY DETECTION ON MACHINE LOG

Using BirchStreet Report Filters

Quick Reference: Returned Funds Report. Returned Funds Report Overview. Running a Returned Funds Report

Features and Benefits

DNA Evolution 4.0 Workflow Guide for Automated Third-party Preview Generation

CIC Scheduled Reports

FREQUENTLY ASKED QUESTIONS

Consider the following to determine which data and fields to include in your report:

Exporting CART Data and Uploading it to QualityNet

Interfacing With Other Programming Languages Using Cython

Code Coverage. Copyright 2009 JADE Software Corporation Limited. All rights reserved.

METIER Course n februray Introduction to ArcView 3

POL 345: Quantitative Analysis and Politics

N2KExtractor. Maretron Data Extraction Software User s Manual

USER GUIDE FOR THE IMPROPER MEDICARE FEE-FOR-SERVICE PAYMENTS REPORT

Transcription:

Analysis Methods in Atmospheric and Oceanic Science AOSC 652 Getting to know FORTRAN: Input/Output, Data Sorting, Simple Statistics Day 2 21 Sep 2016 1

Review Mon: Call to piksrt in our code: call piksrt(iarray_in,iarray_out,npts) Subroutine piksrt as written in Press et al. subroutine piksrt(n,arr) integer n,i,j real a,arr(n) C C Input array is "sorted" using PIKSRT method, given on page 321 C of Press et al., Numerical Recipes in Fortran, 2nd Edition. C Sorts an array into ascending numerical order, by straight insertion. C do j=2,n! Pick out each element in turn a=arr(j) do i=j-1,1,-1! Look for the place to insert it if(arr(i).le.a) goto 10 arr(i+1)=arr(i) enddo i=0 10 arr(i+1)=a! Insert it enddo return end 2

3 Review Mon: Call to piksrt in our code: call piksrt(iarray_in,iarray_out,npts) New subroutine piksrt to comply with our call statement subroutine piksrt(arr_in,arr_out,n) integer n,i,j integer a,arr_in(n),arr_out(n) do i=1,n arr_out(i)=arr_in(i) enddo do j=2,n! Pick out each element in turn a=arr_out(j) do i=j-1,1,-1! Look for the place to insert it if(arr_out(i).le.a) goto 10 arr_out(i+1)=arr_out(i) enddo i=0 10 arr_out(i+1)=a! Insert it enddo return end

4 Review Mon: Call to piksrt in our code: call piksrt(iarray_in,iarray_out,npts) Section of main code: write(99,790)namein(1:len_namein) 790 format('2,3',/,'sequence,integer Value, /, Sorted data read from file ', A) write(6,708)npts,namein(1:len_namein) 708 format('read ',I7,' points from file ',A) C*** call piksrt(iarray_in,iarray_out,npts) call heapsort(iarray_in,iarray_out,npts) do i=1,npts write(99,799)i,iarray_out(i) enddo 799 format(i6,3x,i6) write(*,*)'output written to unit 99'

Global mean surface temperature anomaly: http://data.giss.nasa.gov/gistemp/graphs_v3/fig.a2.gif http://data.giss.nasa.gov/gistemp/faq.html 5

6 File formatting: Copy file: ~rjs/aosc652/week_04/global_temperature_record.dat_orig to your directory. What changes need to be made to this file for it to be handled properly by our plot routine? Copy this file to global_temperature_record.dat and edit the file Then, prepare a plot of the global temperature record You can learn about this temperature record at: http://data.giss.nasa.gov/gistemp/graphs/ Data from: http://data.giss.nasa.gov/gistemp/graphs_v3/fig.a2.txt

7 Hopefully your plot looks something like this: See ~rjs/aosc652/week_04/stncl.500

8 Hopefully your plot looks something like this: Anomaly: difference of global mean temperature, with respect to average over 1951 to 1980 time period http://data.giss.nasa.gov/gistemp/graphs_v3/fig.a2.gif

9 Hopefully your plot looks something like this: FORTRAN programming: http://data.giss.nasa.gov/gistemp/graphs_v3/fig.a2.gif We are now going to write a code to compute a 5 year, running mean of the global temperature anomaly time series

10 FORTRAN programming: We are now going to write a code to compute a 5 year, running mean of the global temperature anomaly time series Copy file: ~rjs/aosc652/week_04/global_temperature_5yr_mean.shell.f to your directory Then, copy this file to global_temperature_5yr_mean.f which we will edit

11 Hopefully your plot looks something like this: See ~rjs/aosc652/week_04/stncl.500

12 Hopefully your plot looks something like this: See ~rjs/aosc652/week_04/stncl.500

13 Station Data: Go to: http://cdiac.ornl.gov/epubs/ndp/ushcn/ushcn.html Click on Data Access Then, click on Web Interface Select Colorado from Drop Down Menu and hit Map Sites Click on Dillon 1 E, CO (052281) Click on Get Monthly Data Highlight Mean Temperature (TMEAN) under Select a Temperature variable for plot of Mean Temperature vs year and then click on get the plot

14 Station Data: Go to: http://cdiac.ornl.gov/epubs/ndp/ushcn/ushcn.html Click on Data Access Then, click on Web Interface Select Colorado from Drop Down Menu and hit Map Sites Click on Dillon 1 E, CO (052281) Click on Get Monthly Data Highlight Mean Temperature (TMEAN) under Select a Temperature variable for plot of Mean Temperature vs year and then click on get the plot Plot should look like:

Station Data: To get data, scroll to: Download a comma-separated file of data summarized by year (Jan 1 - Dec 31) to a download area. Select Annual Average Mean Temperature, click on submit, and you should see something like: Your download file name is CO052281_0151.csv Your download file has 3 columns and 2 header records plus 126 data records. It is 2,591 bytes. You can save this file to your computer by clicking on this link in your Web browser: http://cdiac.esd.ornl.gov/sasserv/co052281_0677.csv As the first part of your next assignment, you will need to get data from this *.csv file into a file you are able to plot and analyze. File can first be saved to disk. Then, can open with an editor and transform into a file that conforms to our format Commas do not have to be removed but can be removed (using Linux editor) if they seem to be posing a problem. Suggest removing station ID from the first column 15