components: schemas: ClimateCoverageResult: properties: distance_to_request_location: format: double type: number last_updated: format: date type: string latitude: format: double type: number longitude: format: double type: number start_year: format: date type: string type: object OnlineService: properties: data_group: type: string data_type: type: string id: format: int64 type: integer long_description: type: string service_id: type: string short_description: type: string url_description: type: string type: object xml: name: online_service securitySchemes: api_key: in: header name: X-Auth type: apiKey x-apikeyInfoFunc: user.controller.apikey_auth info: title: EMD-API - for access to EMD Online Data Services version: '1.1' openapi: 3.0.0 paths: /apikey: get: deprecated: true operationId: user.controller.get_apikey parameters: - description: EMD Serial number in: query name: serial_number required: true schema: type: string - description: E-mail for user in: query name: email required: true schema: format: email type: string responses: '200': content: application/json: schema: type: object description: Successful operation - api-key returned '400': description: Invalid serial number or user information supplied. Contact sales@emd.dk to obtain a license. '401': description: License is expired. Contact sales@emd.dk to renew the license. summary: API key for EMD customer tags: - user-access /onlinedata-services/climate/coverage/{service_id}: get: deprecated: true operationId: climatedata.controller.get_climatecoverage parameters: - description: Service_id for the dataset in: path name: service_id required: true schema: type: string - description: Latitude for point (in decimal degrees) in: query name: lat required: true schema: maximum: 90 minimum: -90 type: number - description: Longitude for point (in decimal degrees) in: query name: lon required: true schema: maximum: 180 minimum: -180 type: number - description: Number of points to return in: query name: num_points schema: default: 1 maximum: 9 minimum: 1 type: integer - description: Maximum distance (radius) to find data (in km). in: query name: max_distance schema: default: 150 maximum: 500 minimum: 1 type: integer responses: '200': content: application/json: schema: items: $ref: '#/components/schemas/ClimateCoverageResult' type: array description: Successful operation. Nearby points found and data returned in list. '401': description: License or token is expired. '403': description: Forbidden - you do not have access to the requested resource. '404': description: No data found within specified radius. security: - api_key: [] summary: Return list of nearest points (or nodes) for a given location tags: - climate-data /onlinedata-services/climate/datasets: get: deprecated: true operationId: climatedata.controller.get_climatedataservices responses: '200': content: application/json: schema: items: $ref: '#/components/schemas/OnlineService' type: array description: Successful operation - list of climate dataset returned '400': description: No data found '401': description: License or token is expired. security: - api_key: [] summary: Return list of available climate dataset services tags: - climate-data /onlinedata-services/climate/order/{service_id}: get: deprecated: true operationId: climatedata.controller.get_climateorder parameters: - description: Service_id of dataset considered in: path name: service_id required: true schema: type: string - description: Latitude for point (decimal degrees) in: query name: lat required: true schema: maximum: 90 minimum: -90 type: number - description: Longitude for point in: query name: lon required: true schema: maximum: 180 minimum: -180 type: number - description: Start year in: query name: start_year required: true schema: type: integer - description: End year in: query name: end_year required: true schema: type: integer - description: The file type to return from the call; zipraw is for native windpro use with import-filter included (if it exists), zipcsv and csv are ready-to-use csv-dataframes. Csv is tab-separated. in: query name: filetype required: true schema: enum: - zipcsv - csv - zipraw type: string responses: '200': content: application/json: schema: type: string description: Successful operation - order identifier is returned - with order placed in the processing queue. '401': description: License or token is expired. '403': description: Forbidden - you do not have access to the requested resource. '404': description: No data found '405': description: Invalid filetype requested. security: - api_key: [] summary: Place an order for a climate dataset (in order to climatedata_download a time-series). An unique identifier is returned. tags: - climate-data /onlinedata-services/climate/status/{order_id}: get: deprecated: true operationId: climatedata.controller.get_climatestatus parameters: - description: Order_id of request to check for status in: path name: order_id required: true schema: type: string responses: '200': content: application/json: schema: type: string description: Successful operation - status is returned '401': description: License or token is expired. '404': description: No data found security: - api_key: [] summary: Status for data order (placed, approved, complete, delivered, unknown, URL). Use URL to climatedata_download. tags: - climate-data /onlinedata-services/climatedownload/{service_id}: get: deprecated: true operationId: climatedata.controller.get_climatedownload parameters: - description: Service_id of dataset considered in: path name: service_id required: true schema: type: string - description: Latitude for point (decimal degrees) in: query name: lat required: true schema: maximum: 90 minimum: -90 type: number - description: Longitude for point in: query name: lon required: true schema: maximum: 180 minimum: -180 type: number - description: Start year in: query name: start_year required: true schema: type: integer - description: End year in: query name: end_year required: true schema: type: integer - description: The file type to return from the call; zipraw is for native windpro use with import-filter included (if it exists), zipcsv and csv are ready-to-use csv-dataframes. Csv is tab-separated. in: query name: filetype required: true schema: enum: - zipcsv - csv - zipraw type: string responses: '200': content: application/zip: schema: format: binary type: string description: File containing the data requested either zipped or text-format (csv). '401': description: License or token is expired. '403': description: Forbidden - you do not have access to the requested resource. '404': description: No data found. '405': description: Invalid filetype requested. '406': description: Too many active requests. security: - api_key: [] summary: Download climate data for a single point (node) tags: - climate-data /onlinedata-services/windindex/calibrated/report/: get: deprecated: true operationId: windindex.controller.get_windindexreportlist responses: '200': content: application/json: schema: items: properties: last_available_report: example: 2019-05 format: date pattern: /([0-9]{4})-(?:[0-9]{2})/ type: string turbine_id: type: string type: object type: array description: Successful operation - list of turbines returned '400': description: No data found '401': description: License or token is expired. security: - api_key: [] summary: Return list of wind turbines with the calibrated wind-index reports tags: - wind-index /onlinedata-services/windindex/calibrated/report/{turbine_id}: get: deprecated: true operationId: windindex.controller.get_windindexreportlistforturbine parameters: - description: Turbine_id of request in: path name: turbine_id required: true schema: type: string responses: '200': content: application/json: schema: items: properties: month: example: 2019-05 pattern: \d{4}-\d{2} type: object type: array description: Successful operation - list of turbine-monthly reports returned '400': description: No data found '401': description: License or token is expired. '404': description: Turbine not found security: - api_key: [] summary: Return list of which reports are available for a specific wind turbine tags: - wind-index /onlinedata-services/windindex/calibrated/report/{turbine_id}/{period}: get: deprecated: true operationId: windindex.controller.get_windindexreportforturbine parameters: - description: Turbine_id of request in: path name: turbine_id required: true schema: type: string - description: Month (period) for report (YYYY-MM) in: path name: period required: true schema: example: 2019-05 pattern: ^\d{4}-\d{2}$ type: string - description: Report revision (if not provided, get latest revision) in: query name: revision required: false schema: default: -1 type: integer - description: Report format ['json'] in: query name: format required: false schema: default: json enum: - json type: string responses: '200': content: application/json: schema: type: object description: Successful operation - monthly turbine report returned '400': description: No data found '401': description: License or token is expired. '404': description: Report not found security: - api_key: [] summary: Return json wind-energy index data for a specific wind turbine and its tags: - wind-index servers: - url: '' tags: - description: Deprecated, please use /user-access/ui/ instead name: user-access - description: Deprecated, please use /climate-data/ui/ instead name: climate-data - description: Deprecated, please use /wind-index/ui/ instead name: wind-index