Copernicus-API is a Python-based application designed to facilitate access to the Copernicus satellite data for various applications. This API decodes, processes, and serves satellite data, including AIS (Automatic Identification System) for maritime navigation, weather forecasting, and wave and wind data processing.
- AIS Data Decoding: Decode AIS data for real-time maritime navigation and tracking.
- Weather Forecasting: Utilize satellite data for detailed and accurate weather predictions.
- Wave and Wind Data Processing: Analyze wave and wind data for maritime safety, surfing, and environmental monitoring.
- Docker
- Python 3.10 or higher
-
Clone the repository:
git clone https://github.com/chmaikos/Copernicus-API.git
-
Navigate to the project directory:
cd Copernicus-API
-
Build and run the Docker container:
docker-compose up --build
Once the API is up and running, you can start making HTTP requests to the available endpoints:
- GET
/api/lab
- Get Living Lab Data- Parameters:
date_min
(string, required): Start date for data querydate_max
(string, required): End date for data query
- Responses:
200
Successful Response422
Validation Error
- Parameters:
- POST
/api/lab
- Add Data- Responses:
200
Successful Response
- Responses:
-
GET
/api/data
- Get Data- Parameters:
latitude
(number, required): Latitude for data querylongitude
(number, required): Longitude for data queryradius
(number, required): Radius for data querydateMin
(string, required): Start date for data querydateMax
(string, required): End date for data query
- Responses:
200
Successful Response withCombinedDataResponse
schema422
Validation Error
- Parameters:
-
GET
/api/weather
- Get Weather Data- Responses:
200
Successful Response withWeatherDataResponse
schema
- Responses:
-
GET
/api/ais_cyprus_dynamic
- Get AIS Cyprus Dynamic- Parameters:
date_min
(string, required): Start date for AIS data querydate_max
(string, required): End date for AIS data query
- Responses:
200
Successful Response422
Validation Error
- Parameters:
-
GET
/api/ais_cyprus_static
- Get AIS Cyprus Static- Parameters:
date_min
(string, required): Start date for AIS data querydate_max
(string, required): End date for AIS data query
- Responses:
200
Successful Response422
Validation Error
- Parameters:
-
GET
/api/threats/
- Get Cops- Responses:
200
Successful Response withCOP
schema
- Responses:
-
GET
/api/threat-cops/
- Get Cops For Threat- Parameters:
id
(string, required): ID of the threat
- Responses:
200
Successful Response withCOP
schema422
Validation Error
- Parameters:
-
PUT
/api/update-cops/
- Update Steps- Parameters:
id
(string, required): ID of the COP
- RequestBody:
- Required, with
COP
schema
- Required, with
- Responses:
200
Successful Response withCOP
schema422
Validation Error
- Parameters:
-
GET
/api/rops/
- Get Rops- Parameters:
msg_id
(string, required): Message ID for ROP query
- Responses:
200
Successful Response withAlert
schema422
Validation Error
- Parameters:
-
PUT
/api/update-status-and-rops/
- Update Rops- Parameters:
msg_id
(string, required): Message ID for ROP update
- RequestBody:
- Required, with
Alert
schema
- Required, with
- Responses:
200
Successful Response withAlert
schema422
Validation Error
- Parameters:
We welcome contributions to the Copernicus-API project. Please read our Contributing Guide for more information on how to get started.
This project is licensed under the MIT License - see the LICENSE file for details.