diff --git a/src/binary.jl b/src/binary.jl index 3c951e9..2c57c40 100644 --- a/src/binary.jl +++ b/src/binary.jl @@ -164,6 +164,7 @@ function convert( time_dimension = String(metadata.time_dimension), dimension_size = metadata.dimension_size, initial_date = metadata.initial_date, + unit = metadata.unit, ) for dims in Iterators.product([1:size for size in reverse(metadata.dimension_size)]...) diff --git a/src/csv.jl b/src/csv.jl index 9d30568..5884260 100644 --- a/src/csv.jl +++ b/src/csv.jl @@ -140,6 +140,7 @@ function convert( time_dimension = String(metadata.time_dimension), dimension_size = metadata.dimension_size, initial_date = metadata.initial_date, + unit = metadata.unit, ) while reader.reader.next !== nothing