Giter VIP home page Giter VIP logo

mcs's Introduction

MCS

Explore MCS temperature profiles. Perform some basic actions and display plots with Mars Climate Sounder L2 data.

https://atmos.nmsu.edu/data_and_services/atmospheres_data/MARS/atmosphere_temp_prof.html

Prerequisites

python packages listed in requirements.txt. To install, run:

pip install -r requirements.txt

Data

Download

First, copy config.template to config.local and setup desired paths. To download MCS L2 files, use src/download_files.py. Downloads them to path set by config.local.

Get filenames in date range

To work with data, first select the files to be used by a range of dates. python src/findfiles.py YYYYMMDDHH YYYYMMDDHH > files.dat

Split by latitude, local time, Ls, or longitude

From a list of filenames output from src/findfiles.py get profiles from a given time or location. Generates DataFrame that can be saved as csv. python src/splitby.py files.dat > profiles.dat Use -h for more options.

Plot map of observations

View map of profiles (local time vs. latitude) python src/map_profiles.py files.dat

Plot temperature profiles

Temp vs. altitude plots. python src/temp_profiles.py files.dat profiles.dat or python src/temp_profiles.py data.csv meta.csv

Temperature vs. Altitude/Pressure contours

Plot temperatures as a function of altitude and latitude, longitude, local time, or Ls python src/long_plots.py files.dat profiles.dat or python src/long_plots.py data.csv meta.csv

mcs's People

Contributors

marek-slipski avatar

Watchers

 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.