Giter VIP home page Giter VIP logo

hydrocron-api's Introduction

Important

The code in this repository has been moved to https://github.com/podaac/hydrocron.

Overview

Hydrocron API is a new tool that implements functionalities that will allow hydrologists to have direct access to filtered data from our newest satellites. This innovative tool will provide an effortless way to filter data by feature ID, date range, polygonal area, and more. This data will be returned in formats such as CSV and geoJSON.

Requirements

Python 3.10+

Usage

Before starting the server you must first start a local database instance. The easiest method is to use docker. First, make sure you have installed Docker and AWS CLI. To configure AWS local variables:

aws configure
    AWS Access Key ID: a
    AWS Secret Acces Key: a
    Default region name: us-west-2
    Default output format: None

Next step is to run docker compose up:

docker compose up

To run the server, please execute the following from the root directory:

HYDROCRON_ENV=dev python -m hydrocronapi

and open your browser to here:

http://localhost:8080/hydrocron/HydroAPI/1.0.0/ui/

Your Swagger definition lives here:

http://localhost:8080/hydrocron/HydroAPI/1.0.0/swagger.json

Running with Docker

To run the server on a Docker container, please execute the following from the root directory:

# building the image
docker build -t hydrocronapi .

# starting up a container
docker run -p 8080:8080 hydrocronapi

hydrocron-api's People

Contributors

frankinspace avatar vggonzal avatar viviant100 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hydrocron-api's Issues

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.