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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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