You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function documents that "Currently only csv urls are supported.", but I agree that should be extended. The issue with hdf5 files is that one cannot predict the file name (this in contrast with the daily or monthly), you have to look them up. That can be provided with the aws.s3 package like so:
library(aws.s3)
library(dplyr)
region="eu-west-1"df<- get_bucket_df(
"aloftdata",
prefix="baltrad/hdf5/bejab/2018/", # Directorymax=2000, # Maximum number of files to getregion=region
)
files<- pull(df, Key)
I would actually do the same for the csv files (look them up), so only valid (and not potential) URLs are returned. I would also limit the function to 1 radar at a time.
I have not investigated in detail but it seems this function fails unjustified because the code looks for an object only creates for a csv:
Created on 2023-12-13 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: