Giter Site home page Giter Site logo

stevemarple / aurorawatchnet Goto Github PK

View Code? Open in Web Editor NEW
11.0 6.0 3.0 50.91 MB

Building a network of magnetometers for auroral alerts and citizen science.

Home Page: http://aurorawatch.net/

License: GNU General Public License v2.0

Stata 28.45% Prolog 0.16% C++ 43.84% C 4.47% Python 19.05% Shell 0.55% HTML 0.07% JavaScript 2.93% Makefile 0.47%
magnetometer citizen-science aurora aurora-borealis

aurorawatchnet's People

Contributors

stevemarple avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

galeots simrit1

aurorawatchnet's Issues

Content of AuroraWatch UK API v1.0 stations file

The auroraplot Python library will be used for data processing. This arranges data by project, site, data type and channel. In our case data type is always magnetometer data so the important items to identify the magnetometers in use will be project and site. The station list must include:

  • Station list
    • Station
      • Project (eg. AURORAWATCHNET, SAMNET)
      • Site (eg. LAN1)
      • Location
        • Place (eg. Lancaster, UK)
        • Latitude (N positive)
        • Longitude (E positive)
      • Data attribution
      • Copyright notice
      • License (eg. CC-BY-SA-NC 3,0).

Formatting may follow the convention used by GAIA, http://gaia-vxo.org. See http://calgary.canada.gaia-vxo.org/rest_xml/projects for an example.

Cannot unset remote hostname

Cannot unset remote hostname using send_cmd.py. This prevents a static IP address being used once a hostname has been defined. Workaround is to send an eepromWrite command to the console of the sensor unit.

Content of AuroraWatch UK API v1.0

I'm generating a list of the information that should included in the v1.0 AuroraWatch UK API. So far I have:

  • Threshold list
    • Threshold
      • Status level
      • Lower limit (and upper limit?)
      • Color with RGB values
  • Activity list
    • Start time
    • Status level
    • Value
  • Station list (list of magnetometers used to compute the current status)
    • Station/instrument/magnetometer
      • Project (eg. AURORAWATCHNET, SAMNET)
      • Site (eg. LAN1)
  • Current status
    • Status level
  • Previous status
    • Status level
  • Creation time
  • Status message
    • Message text
    • Issued (ISO8601 datetime)
    • Time-to-live (TTL, in seconds)

If the status message is present, and its message text is not empty, this provides a message which could be presented (silently?) to the user, eg, "System down due to maintenance", "Aurora sighted from Cornwall!". The message should not be displayed after the TTL has expired. If implemented the app is responsible for ensuring the message is not displayed multiple times.

The nested list hints at how the XML document is likely to be structured. The list of stations will be fairly static so I think that is perhaps best left to a separate document to minimise the data transferred. See issue #5 for details.

As much as I hate American spellings I will use "color" since that is the spelling used in HTML/CSS.

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.