Skip to main content

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.

Metadata

Release files for metintos 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metintos 0.2.3
File Size Uploaded
metintos-0.2.3.tar.gz 16.3 kB Details

Release files / metintos-0.2.3.tar.gz

Download URL metintos-0.2.3.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ca4a807cbdab22891c00d56c9e6d9123bebfadd9e9c1327b0c313af3aa5f7fb8
BLAKE2b-256 checksum
How to use checksums
0ab4f47893ddd2c0056e21c04f330df20e63e7a0cf192aac70bf9cc20d9e3306
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.3 This release

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page