Skip to content

add_offset and scale_factor attributes cause type promotion of the entire array #15

@gdkrmr

Description

@gdkrmr
julia> CFDiskArray(fill(1f0, 3, 3, 3), Dict("add_offset" => 0.0, "scale_factor" => 1.0)) |> eltype
Union{Missing, Float64}                                                                           

This is the reason for JuliaDataCubes/YAXArrays.jl#202

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions