Closed lekoenig closed 2 years ago
@msleckman I was able to resolve the error when unzipping p1_sntemp_input_output_zip
because I didn't have the file name quite right. I'm still having trouble with p1_drb_temp_sites_zip
and the modified download_sb_file()
function though, and am wondering if the query is working as expected.
This PR includes changes to
1_fetch.R
to automate the download of certain files from ScienceBase now that the data release is public. Manual downloads have been replaced with code to automatically download the relevant files for the following targets:p1_drb_temp_sites_zip
p1_drb_temp_obs_zip
p1_sntemp_input_output_zip
I'm currently getting errors for two of these targets,
p1_drb_temp_sites_zip
andp1_sntemp_input_output_zip
(comments above each target indicate "TODO" followed by the error message). @msleckman, I could use your help with thedownload_sb_file()
function. Does this code work for you? Do you know why the downloaded zips appear to be invalid?Closes #8