GithubHelp home page GithubHelp logo

pankajcivil / summer-temperature-distributions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from karenamckinnon/summer-temperature-distributions

0.0 2.0 1.0 3.86 MB

Code used for analyses in McKinnon et al (2016), The changing shape of Northern Hemisphere summer temperature distributions, JGR-Atmospheres

License: MIT License

MATLAB 87.29% R 3.88% Objective-C 8.83%

summer-temperature-distributions's Introduction

The changing shape of Northern Hemisphere summer temperature distributions

This repo contains the codes used for the analysis and figures in McKinnon et al. (2016), The Changing Shape of Northern Hemisphere summer temperature distributions, JGR-Atmospheres.

The code 'main.m' is the wrapper for all of the other functions.

The code relies on analysis of large amounts of data, and WILL NOT run as is.

To use the code, it is first necessary to: (1) create a database with GHCND data in the same format as the example file (USC00050848.mat) and metadata (metadata.mat). Contact me ([email protected]) for more information.

(2) fill in the appropriate directory paths in the codes in terms of where the GHCND data is, where you'd like your figures saved, etc.

(3) (optional) If you would also like to do the comparative analysis with hourly data, the ISD data can be downloaded using the code getHourly.R.

Because the quantile regression analysis is computationally intensive (many bootstrap samples), the code has been set up in a very basic way to be parallelized. The parameter 'nIntervals' can be changed to the number of machines/cores you have available. Then, using a bash script or similar, create different versions of the main code that each have a different runNumber, up to nIntervals. The code will automatically save the subsets of the analysis. After each subset is done, the runNumber can be changed to 0, at which point the code will stitch together all of the subsets.

All figure printing requires the external package export_fig.

It is likely that I have overlooked a subfunction or two that are required somewhere in the codes. Please be in touch if additional codes are needed.

Questions/comments/concerns/ideas: [email protected]

summer-temperature-distributions's People

Watchers

James Cloos avatar Pankaj Dey, Ph.D. avatar

Forkers

lmxb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.