-
Notifications
You must be signed in to change notification settings - Fork 34
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
Load smap file from filename regex #46
Comments
Can we increase the priority of this one? Adds a good 30 mins to the start up every time I use the full SMAP data set. |
Wow 30 mins. You can do it by just regex filtering the filenames smapfiles = joinpath.(smap_folder, [f for f in readdir(smapfolder) if occursin(r".h5$", f) && occursin("_2017" , f)])
smapseries = SMAPseries(smapfiles) See Is that enough or should we build that in to GeoData.jl? |
SMAPseries actually takes a https://github.com/rafaqz/GeoData.jl/blob/master/src/sources/smap.jl#L114 |
Oh I didn't realise it could already taken a vector of strings. I think this is enough for now but would be useful in future, e.g. for AWAP grids or something were there are lots of grid files. |
closed by #54 so this is automatic |
Getting the date from the HDF5 is too slow.
The text was updated successfully, but these errors were encountered: