Skip to main content

For interpolating 3D data

Project description

interpolaton

3D interpolation using NUMBA and MPI4PY

Getting started

Required data:

• rank -> Current Processor in execution. More info can be found here:
• start_x -> Starting point of the grid in X-direction
• end_x -> Ending point of the grid in X-direction
• start_y -> Starting point of the grid in Y-direction
• end_y -> Ending point of the grid in Y-direction
• start_z -> Starting point of the grid in Z-direction
• end_z -> Ending point of the grid in Z-direction
• nx_old -> Number of points in X-direction in old grid
• ny_old -> Number of points in Y-direction in old grid
• nz_old -> Number of points in Z-direction in old grid
• nx_new -> Number of points in X-direction in new grid
• ny_new -> Number of points in Y-direction in new grid
• nz_new -> Number of points in Z-direction in new grid
• nv -> Number of variables in the data
• old_data_path -> Path where the old data is present
• old_file_name -> File name where the old data is present (Ex: for filename: input.h5 type input) • new_data_path -> Path where the new data is present
• new_file_name -> File name where the new data is present (Ex: for filename: input.h5 type input) • key -> Key is required to store the output data in HDF5 format (For optimal data storing)

Run the code

• pip install internumpi
• cd interpolation
• mpirun -n #NUM-CORES python main.py --start_x #START_X --end_x #END_X --start_y #START_Y --end_y #END_Y --start_z #START_Z --end_z #END_Z --nx_old #NX_OLD --ny_old #NY_OLD --nz_old #NZ_OLD --nx_new #NX_NEW --ny_new #NY_NEW --nz_new #NZ_NEW --nv #NV --old_data_path #OLD_DATA_PATH --old_file_name #OLD_FILE_NAME --new_data_path #NEW_DATA_PATH --new_file_name #NEW_FILE_NAME --key #KEY

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

internumpi-0.0.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

internumpi-0.0.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file internumpi-0.0.2.tar.gz.

File metadata

  • Download URL: internumpi-0.0.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for internumpi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e2e755bce8e299b22e62ae64bbc50e63d11af7dfe2ad7a2d2cfc580e660235c6
MD5 6ad7a027d750795e750cfbcdf7c1d672
BLAKE2b-256 945baa1629f87e102ee0c9f64f9cb91a91664d2da99beba1c44c45182d5e6677

See more details on using hashes here.

File details

Details for the file internumpi-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: internumpi-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for internumpi-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5f5b072f059b519a694eb1c778391b6fa1f2fc06a00826175fd9b87c6664eb0
MD5 fd624f70240e5d47db7a31613e0f823e
BLAKE2b-256 2e7fe0eb9c81e49182215e4161581317429fb88a20fafabbf00baf36a72f3831

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