Skip to main content

MEDPro (MED post PROcessing)

image

Medcoupling based post processing tools

This project has been created to simplify the manipulation of MED files.

Code examples:

import medpro

# Read a med file, extract mesh, field, group information
fp = medpro.MEDFilePost("./tests/examples/box_with_depl.rmed")
mesh = fp.meshes_by_name["mesh"]
g1 = mesh.get_group_by_name("G1")
depl_evol = fp.fieldevols_by_name["reslin__DEPL"]

# Extract a subpart of a field based on a group 
depl_g1 = depl_evol.extract_group("G1")

# Create a new MED file, write it back
fpnew = medpro.MEDFilePost()
fpnew.add_fieldevol(depl_g1)
fpnew.write("/tmp/output.rmed")

Download files

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

Source Distribution

medpro-1.0.14.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

medpro-1.0.14-py2.py3-none-any.whl (9.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file medpro-1.0.14.tar.gz.

File metadata

  • Download URL: medpro-1.0.14.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for medpro-1.0.14.tar.gz
Algorithm Hash digest
SHA256 2095330e86c30239e3219d5a78e028fd992a4588d999f97553d0193980fb64e9
MD5 db44756e8637fe6d4d6fc65e0241f3dd
BLAKE2b-256 d3c8360e2bf32c954a54999fdf7605b34c251b4a8679e6b48b818eb72c3f767a

See more details on using hashes here.

File details

Details for the file medpro-1.0.14-py2.py3-none-any.whl.

File metadata

  • Download URL: medpro-1.0.14-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for medpro-1.0.14-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f5983cb7a61019af9c0d73f721ec560a9277ee2402ffe55d9c66b427f0387021
MD5 a620adbff2f8a11f0cbd647a4085f393
BLAKE2b-256 2810840afb8969b06e1d43f1790406fdfc8d25beb48bd1aea2c458cdfe82d358

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.14 This release

2 files

1.0.13

2 files

1.0.12

2 files

1.0.11

2 files

1.0.10

2 files

1.0.9

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

Supported by

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