scorpio icon indicating copy to clipboard operation
scorpio copied to clipboard

Add a PIO_IOTYPE_ANY iotype

Open jayeshkrishna opened this issue 6 years ago • 0 comments

Currently PIO internally switches to a different iotype when the user-specified iotype fails to open a file.

Instead this internal switching of iotypes should only be done if the user explicitly specifies a PIO_IOTYPE_ANY iotype. PIO in this case tries out the different iotypes ( taking performance into consideration) and uses the one that works.

The order to try out would be,

  • PIO_IOTYPE_PNETCDF
  • PIO_IOTYPE_NETCDF4P
  • PIO_IOTYPE_NETCDF4C
  • PIO_IOTYPE_NETCDF

jayeshkrishna avatar Mar 20 '18 16:03 jayeshkrishna