Coder Social home page Coder Social logo

docker-smartmetserver's Introduction

SmartMet Server

SmartMet Server is a data and product server for MetOcean data. It provides a high capacity and high availability data and product server for MetOcean data. The server is written in C++, since 2008 it has been in operational use by the Finnish Meteorological Institute FMI.

The server can read input data from various sources:

  • GRIB (1 and 2)
  • NetCDF
  • SQL database

The server provides several output interfaces:

  • WMS 1.3.0
  • WFS 2.0
  • Several custom interface and several output formats:
  • JSON
  • XML
  • ASCII
  • HTML
  • SERIAL
  • GRIB1
  • GRIB2
  • NetCDF
  • Raster images

The server is INSPIRE compliant. It is used for FMI data services and product generation. It's been operative since 2008 and used for FMI Open Data Portal since 2013.

The server is especially good for extracting weather data and generating products based on gridded data (GRIB and NetCDF). The data is extracted and products generating always on-demand.

This image includes following packages:

Libraries

Engines

Plugins

Usage

Run container

docker run -d --restart=always --name smartmetserver -v $HOME/data:/smartmet/data \
-p 8080:8080 fmidev/smartmetserver

Get data to play with

mkdir -p $HOME/data/meps/surface
mkdir -p $HOME/data/ecmwf/surface
wget -O $HOME/data/meps/surface/$(date -u +%Y%m%d0000)_meps_northeurope_surface.sqd \ 
-S "https://opendata.fmi.fi/download?param=Temperature,TotalCloudCover,Precipitation1h,WindSpeedMS,Humidity,
Pressure,WeatherSymbol3&format=qd&producer=harmonie_scandinavia_surface&origintime=$(date -u +%Y-%m-%dT00Z)&timestep=data"
wget -O $HOME/data/ecmwf/surface/$(date -u +%Y%m%d0000)_ecmwf_europe_surface.sqd -S "https://opendata.fmi.fi/download?param=Temperature&format=qd&producer=ecmwf&origintime=$(date -u +%Y-%m-%dT00Z)&timestep=data"

Access timeseries plugin

http://localhost:8080/timeseries?producer=meps&lonlat=24.94,60.17&param=time,temperature,pressure

Access WMS Capabilities

http://localhost:8080/wms?service=wms&version=1.3.0&request=GetCapabilities

Access data inventory

http://localhost:8080/admin?what=qengine

Get more help for timeseries usage from github wiki page.

Build custom container

FROM fmidev/smartmetserver:latest
USER root
COPY smartmetconf /etc/smartmet
COPY wms /smartmet/share/wms
USER 101010

docker-smartmetserver's People

Contributors

apavenis avatar mrauhala avatar pekkine avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

tervo dmidk

docker-smartmetserver's Issues

ERROR [ 2/10] RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Hi, I'm working with this docker smartmet server for 2 years, It's an excellent product,
and now I want to update but, when I try to build the docker I has had this error message with the Postgres 95 rpm, it does't exist.

=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.68kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 80B 0.0s
=> [internal] load metadata for docker.io/library/centos:7 0.7s
=> CACHED [ 1/10] FROM docker.io/library/centos:7@sha256:0f4ec88e21daf75124b8a9e5ca03c37a5e937e0e108a255d890492430789b60e 0.0s
=> [internal] load build context 1.0s
=> => transferring context: 56.18MB 1.0s
=> ERROR [ 2/10] RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel- 5.2s

[ 2/10] RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-3.noarch.rpm https://download.fmi.fi/smartmet-open/rhel/7/x86_64/smartmet-open-release-17.9.28-1.el7.fmi.noarch.rpm && yum-config-manager --disable "pgdg*" && yum-config-manager --enable "pgdg95":
#5 2.681 curl: (22) The requested URL returned error: 404 Not Found
#5 2.688 error: skipping https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-3.noarch.rpm - transfer failed
#5 5.120 Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
#5 5.120 Retrieving https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-3.noarch.rpm
#5 5.120 Retrieving https://download.fmi.fi/smartmet-open/rhel/7/x86_64/smartmet-open-release-17.9.28-1.el7.fmi.noarch.rpm

aarch64 platform failure

Hello,
I'm trying to build an image for the aarch64 platform but when is looking for this file

#4 13.39 failure: repodata/repomd.xml from smartmet-open: [Errno 256] No more mirrors to try.
#4 13.39 https://download.fmi.fi/smartmet-open/rhel/7/aarch64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

it not exists, in deed, there are no files for this architecture.
So, the question is, is there a possibility to build an image for aarch64 architecture?.

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.