handle UDF formats on NC_create()

This commit is contained in:
Ed Hartnett 2019-07-05 13:39:50 -06:00
parent d5816bb13e
commit d408006d06

View File

@ -1907,6 +1907,14 @@ NC_create(const char *path0, int cmode, size_t initialsz,
dispatcher = NCP_dispatch_table;
break;
#endif
#ifdef USE_NETCDF4
case NC_FORMATX_UDF0:
dispatcher = UDF0_dispatch_table;
break;
case NC_FORMATX_UDF1:
dispatcher = UDF1_dispatch_table;
break;
#endif /* USE_NETCDF4 */
case NC_FORMATX_NC3:
dispatcher = NC3_dispatch_table;
break;