AustralianAntarcticDivision / raadfiles

Data library management tools for files
https://australianantarcticdivision.github.io/raadfiles/
2 stars 1 forks source link

oisst files not found on raadclient #6

Closed mdsumner closed 6 years ago

mdsumner commented 6 years ago

why?

ls /rdsi/PUBLIC/raad/data/www.ncei.noaa.gov/data/sea-surface-temperature-optimum-interpolation/access/avhrr-only/198805

mdsumner commented 6 years ago

This returns no files on raadclient:

f <- raadfiles::oisst_daily_files()
files0 <- dplyr::filter(raadfiles:::get_raw_raad_filenames(), stringr::str_detect(.data$file, "avhrr"))
files1 <- dplyr::filter(files0, grepl("www.ncei.noaa.gov.*sea-surface-temperature-optimum-interpolation.*avhrr-only.*\\.nc$",
                                      .data$file))

but it does on other existing machines. Is there some subtle regex magic that a more recent Ubuntu might expose? @raymondben any ideas?

It looks like raadfiles::cryosat2_files() has the same problem, so exploring other function's patterns might yield clues. I tried most other functions but not all

mdsumner commented 6 years ago

Nothing to do with regex, the PUBLIC file cache was stale. Rectified in the sync filelist.