Skip to content

Commit

Permalink
Fix some default types.
Browse files Browse the repository at this point in the history
  • Loading branch information
evetion committed Mar 1, 2024
1 parent 44f89d1 commit ec2c630
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/GEDI/L2A.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ function points(
power = occursin("Full power", read_attribute(group, "description")::String)

nt = (
longitude = Float32[],
latitude = Float32[],
longitude = Float64[],
latitude = Float64[],
height = Float32[],
height_error = Float32[],
datetime = Float64[],
datetime = Dates.DateTime[],
intensity = Float32[],
sensitivity = Float32[],
surface = BitVector(),
quality = BitVector(),
surface = Bool[],
quality = Bool[],
nmodes = UInt8[],
track = Fill(track, 0),
strong_beam = Fill(power, 0),
Expand Down
2 changes: 1 addition & 1 deletion src/ICESat-2/ATL06.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function points(
height = Float32[],
height_error = Float32[],
datetime = Dates.DateTime[],
quality = BitVector(),
quality = Bool[],
track = Fill(track, 0),
strong_beam = Fill(atlas_beam_type == "strong", 0),
detector_id = Fill(parse(Int8, spot_number), 0),
Expand Down
8 changes: 4 additions & 4 deletions src/ICESat-2/ATL08.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ function points(
latitude = Float64[],
height = Float32[],
height_error = Float64[],
datetime = DateTime[],
quality = BitVector(),
phr = BitVector(),
datetime = Dates.DateTime[],
quality = Bool[],
phr = Bool[],
sensitivity = Float32[],
scattered = Int8[],
saturated = Int8[],
clouds = BitVector(),
clouds = Bool[],
track = Fill(track, 0),
strong_beam = Fill(atlas_beam_type == "strong", 0),
classification = Fill("ground", 0),
Expand Down

0 comments on commit ec2c630

Please sign in to comment.