fix: Norshelf filenames changed due to changes in Thredds

This commit is contained in:
Jonas Juselius
2024-05-01 12:47:17 +02:00
parent f2730ad1e3
commit 0f5de91d39

View File

@@ -10,7 +10,7 @@ let private getNorshelfUrl (threddsUrl: string) (kind: Kind) (mode: Mode) (date:
let fmt (d: DateTime) =
$"{d.Year}%02d{d.Month}%02d{d.Day}T00Z.nc"
let url = threddsUrl + "/sea_norshelf_files"
$"{url}/norshelf_{kind}_{mode}_{fmt date}"
$"{url}/{date.Year}/%02d{date.Month}/norshelf_{kind}_{mode}_{fmt date}"
let private getArchiveUrls urlf (t: DateTime) =
let t = t.ToUniversalTime()