Giter Club home page Giter Club logo

ship-climate-data's Introduction

CLIWOC Climate Data Visualization

This repository contains the code to analyze and visualize the Climatological Database for the World's Oceans (CLIWOC, wiki). This dataset contains ~300k transcribed logbooks from ships in the 1750 - 1850. The repo consists of node scripts for analyzing and building datasets and an electron app for visualizing the data.

Bound Lines

The Data

The CLIWOC dataset includes 287,114 records. Each record represents an individual log and has a number of possible associated variables - including wind direction, wind speed, air temperature, etc. They are listed in cliwoc 2_1.htm from here. For convenience, you can see a version hosted in this repo here.

Installation

Make sure you have node installed. Download the files, open a terminal in the repo folder and run:

npm install

Running

All the tasks are controlled through npm scripts, so you can open up a terminal in the project and run:

  1. npm run start - this will start up the data visualization electron app using the files in public/.
  2. npm run build-ship-paths - this will parse the full dataset from cliwoc21.txt to a JSON file with just the ship's lat/lon information. This repo contains a version of that dataset already (./data/ship-paths.json), so you shouldn't need this script.
  3. npm run parse-database-structure - this will parse the full dataset from cliwoc21.txt to a JSON file with a subset of the possible variables. See (or modify) ./lib/build-all-records.js to manipulate which variables are selected.

Note: the full dataset is >2 gigs, so it is not included in this repository. If you want to run the latter two scripts, you'll need the full dataset. You can download that from here. You want to download CLIWOC21.zip, unzip it and copy cliwoc21.txt to the data folder in this repository.

ship-climate-data's People

Contributors

mikewesthad avatar

Watchers

 avatar  avatar

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.