VarBCFiles documentation
This package can be used to read VARBC.cycle files version 6
Examples
The examples will use the VARBC.cycle files from the test/data directory
julia> using VarBCFiles
julia> testdir = joinpath(dirname(pathof(VarBCFiles)),"../test/data")Read/write
julia> v1 = read("$testdir/VARBC.cycle1",VarBC)
VarBC with 1080 records for 2019-08-02T12:00:00
julia> write("some/path/VARBC.cycle",v1)Filtering
julia> filter!(x-> x.second.ndata !=0 , v)Merging
julia> v2 = read("$testdir/VARBC.cycle2",VarBC)
VarBC with 1043 records for 2019-08-02T06:00:00julia> merge!(v1,v2)julia> v1
VarBC with 1083 records for 2019-08-02T12:00:00To merge e.g. only the surface observations from v2 into v1 filter! the v2 records first
filter!(x-> x.second.class=="sfcobs" ,v2)
merge!(v1,v2)