GithubHelp home page GithubHelp logo

aeropoint's Introduction

Aeropoint

Command line tool that given a base station ID, start time and end time downloads the day blocks from a given time and merges them into a single RINEX observation file.

One of these networks in the NOAA CORS network in the United States. RINEX observation data from each of their base stations is published in 1 hour blocks on their FTP server at 'ftp://www.ngs.noaa.gov/cors/rinex'. You can read more about the network here: 'http://geodesy.noaa.gov/CORS/'

Requirements (installed)

Python dependencies

  • datetime
  • os
  • shutil
  • subprocess
  • sys

Environment Variables

  • GUNZIP_CMD
  • TEQC_CMD

export env GUNZIP_CMD="gunzip"
export env TEQC_CMD="teqc"

Test locally

  • python -m unittest discover -s . -p '*_test.py'

Run the app

  • /usr/bin/python3 ./main.py nypb 2020-07-09T23:11:22Z 2020-07-14T01:33:44Z

Improvements

  • Download the file by 1 hour blocks when available instead of downloading only the files of the full day
  • Handle error when file doesn't exist from the server, validation of the input format of the date
  • Add files processed in a report file (success or not)
  • Add better test coverage

aeropoint's People

Contributors

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