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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for internumpi-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5f5b072f059b519a694eb1c778391b6fa1f2fc06a00826175fd9b87c6664eb0 |
|
MD5 | fd624f70240e5d47db7a31613e0f823e |
|
BLAKE2b-256 | 2e7fe0eb9c81e49182215e4161581317429fb88a20fafabbf00baf36a72f3831 |