fix error with currents data
fix nc extraction with dim > 2