Coder Social home page Coder Social logo

spice's Introduction

SPICE

The fetch_spice.py script allows you to download SPICE data and save it as a netCDF file. In order to run the script you must have installed the necessary dependencies. A requirements.txt file is provided to make this easy. The following is an example of how the script can be run from the command line:

python fetch_spice.py SPICE38 2023-09-01T00:00:00Z 2023-09-30T23:59:59Z test.nc

Running the script with the -h flag shows what all of the different parameters are:

python fetch_spice.py -h
usage: fetch_spice.py [-h] {SPICE34,SPICE35,SPICE36,SPICE37,SPICE38} start_ts end_ts path

Download and save SPICE data.

positional arguments:
  {SPICE34,SPICE35,SPICE36,SPICE37,SPICE38}
                        SPICE station code. Can be SPICE34, SPICE35, SPICE36, SPICE37 or SPICE38.
  start_ts              Start time in UTC (YYYY-MM-DDTHH:MM:SSZ).
  end_ts                End time in UTC (YYYY-MM-DDTHH:MM:SSZ).
  path                  Path (including filename) to where netCDF file will be saved.

options:
  -h, --help            show this help message and exit

spice's People

Contributors

huaracheguarache 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.