Skip to main content

Meteorological Interpolation Toolbox for Optimization and Simulation

Project description

METeorological INterpolation Toolbox for Optimization and Simulation (METINTOS)

Build Status GitHub GitHub release (latest by date) Documentation Status

What is METINTOS?

METINTOS is a libray that interpolates meteorological variables in time. It is distributed under the GNU Lesser General Public License v3.0.

Citation info: D. Daniel González-Arribas, J. García-Heras, M. Soler and E.A. Enderiz, METeorological Interpolation Toolbox for Optimization and Simulation (METINTOS) an open source meteorological variable interpolator.

How to run the library

  1. Clone or download the repository.
  2. Install all the dependencies.

How to use it

  1. From your meteorological files you have to create the dataset, you have to use xarray.open_mfdataset, you can obtain information in the xarray documentation (xarray.open_mfdataset link).
ds = xr.open_mfdataset(files, engine='h5netcdf', concat_dim=['step'], combine='nested')
  1. Create the DatasetHandler calling metintos.io.DatasetHandler.
dsh = metintos.io.DatasetHandler(cls.ds)
  1. Create CoordinateGenerator object and new axis, i.e.: latitudes, longitudes, steps.
cg = metintos.io.CoordinateGenerator()
cg.add_axis_lims_n_points('latitude', l0, lf, ls)
cg.add_axis_lims_n_points('longitude', lo0, lof, los)
cg.add_axis_lims_resolution('step', s0, sf, ss)
  1. Produce the new dataset interpolated with optical flow
dsn = dsh.get_optical_flow_interpolated_dataset(cg.axes)

How to compile documentation pdf

You can use the Makefile created by Sphinx to create your documentation. Locate yourself in the documentation path.

First clean the _build directory to avoid error or legacy information. Just call:

make clean

In case you want to build your documentation in latex call twice:

make latexpdf

if you want to do build your in html call:

make html

Note that you should not see any error or warning, this information appears as red text in the terminal.

Contents

Check METINTOS documentation in the following link: METINTOS documentation link.

Acknowledmgements

This library has been developed within FMP-Met Project. FMP-Met has received funding from the SESAR Joint Undertaking (JU) under grant agreement No 885919. The JU receives support from the European Union’s Horizon 2020 research and innovation programme and the SESAR JU members other than the Union.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metintos-0.2.3.tar.gz (16.3 kB view details)

Uploaded Source

File details

Details for the file metintos-0.2.3.tar.gz.

File metadata

  • Download URL: metintos-0.2.3.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

File hashes

Hashes for metintos-0.2.3.tar.gz
Algorithm Hash digest
SHA256 ca4a807cbdab22891c00d56c9e6d9123bebfadd9e9c1327b0c313af3aa5f7fb8
MD5 92b555b101c24fef0179d3e0b1b27371
BLAKE2b-256 0ab4f47893ddd2c0056e21c04f330df20e63e7a0cf192aac70bf9cc20d9e3306

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page