update netcdf metadata extraction