scorpio
scorpio copied to clipboard
Add a PIO_IOTYPE_ANY iotype
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