How cywhale/argo works
Project type and purpose
• This is a Python-based local API server (a microservice) named odbargo_app.
• Its purpose is to fetch Biogeochemical Argo float data (NetCDF) from the public ERDDAP server using the Argopy library and expose it via a local HTTP API/CLI for the Ocean APIverse Argo Mapper plugin.
File structure
• argo_app/
• app.py – the entry point, launches the HTTP API server (likely Flask/FastAPI) and CLI command odbargo_app.
• src/config.py – configuration management (e.g., ERDDAP endpoint, cache paths).
• conf/
• simu.conf – sample or simulation configuration.
• dev/
• Jupyter notebooks and helper scripts for development, testing data pulls, and DB updates.
• scripts/win_installer/
• Windows installer scripts for bundling the app into a self-contained environment.
• Dockerfile & docker-compose.yml
• Containerization files to deploy the service in Docker.
• setup.py, Pipfile, requirements.txt
• Packaging and dependency management – installs argopy, HTTP framework, etc.
README for additional insights
• The README confirms it’s a local API server that uses argopy to query ERDDAP and is designed to plug into ODB’s web platform via Ocean APIverse.
• Installation steps show both Python-virtual-env and Windows installer targets.
Detail
• Layers (CLI vs. HTTP)
• Technologies on each component