Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get run id fails if 000?.xyz exists #97

Closed
milankl opened this issue Jun 28, 2022 · 2 comments
Closed

Get run id fails if 000?.xyz exists #97

milankl opened this issue Jun 28, 2022 · 2 comments
Labels
output 📤 NetCDF or JLD2 output, their writers, formats, etc

Comments

@milankl
Copy link
Member

milankl commented Jun 28, 2022

julia> run_speedy(trunc=341,output=true,output_dt=3,model=:shallowwater)
ERROR: ArgumentError: invalid base 10 digit '.' in "0007.tar.xz"
Stacktrace:
  [1] tryparse_internal(#unused#::Type{Int64}, s::String, startpos::Int64, endpos::Int64, base_::Int64, raise::Bool)
    @ Base ./parse.jl:137
  [2] parse(::Type{Int64}, s::String; base::Nothing)
    @ Base ./parse.jl:241
  [3] parse
    @ ./parse.jl:241 [inlined]
  [4] (::SpeedyWeather.var"#37#39")(id::String)
    @ SpeedyWeather ./none:0
  [5] iterate
    @ ./generator.jl:47 [inlined]
  [6] collect_to!
    @ ./array.jl:782 [inlined]
  [7] collect_to_with_first!
    @ ./array.jl:760 [inlined]
  [8] collect(itr::Base.Generator{Vector{String}, SpeedyWeather.var"#37#39"})
    @ Base ./array.jl:734
  [9] get_run_id_path(P::Parameters)
    @ SpeedyWeather ~/.julia/packages/SpeedyWeather/OJt3A/src/output.jl:14
@milankl
Copy link
Member Author

milankl commented Jun 28, 2022

Addressed with #99

@milankl
Copy link
Member Author

milankl commented Jun 29, 2022

Closed with merging of #99

@milankl milankl closed this as completed Jun 29, 2022
@milankl milankl added the output 📤 NetCDF or JLD2 output, their writers, formats, etc label Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
output 📤 NetCDF or JLD2 output, their writers, formats, etc
Projects
None yet
Development

No branches or pull requests

1 participant