Thanks for your email. We've fixed the issue now - it was an artefact of some backend changes we made in late 2019.
Let me know if you find any other issues,
Thanks,
Sam
Sam Taylor-Offord I Science Operations Specialist Science Operations and Data team Data Science and Geohazards Monitoring Department GNS Science I Te Pῡ Ao
1 Fairway Drive, Avalon 5010, PO Box 30368, Lower Hutt 5040, New Zealand Ph +64 (0) 4 570 4026 http://www.geonet.org.nz/ I Email: s.taylor-offord@gns.cri.nz
-----Original Message-----
From: Derek Goring mulgor@gmail.com
Sent: Monday, 6 January 2020 09:04
To: info@geonet.org.nz
Subject: CREX change of format: no leading zeros
Hi there
For 12 years (since 2007) you have had directories and filenames in CREX like this:
Hi Derek,
Thanks for your email. We've fixed the issue now - it was an artefact of some backend changes we made in late 2019.
Let me know if you find any other issues,
Thanks,
Sam
Sam Taylor-Offord I Science Operations Specialist Science Operations and Data team Data Science and Geohazards Monitoring Department GNS Science I Te Pῡ Ao 1 Fairway Drive, Avalon 5010, PO Box 30368, Lower Hutt 5040, New Zealand Ph +64 (0) 4 570 4026 http://www.geonet.org.nz/ I Email: s.taylor-offord@gns.cri.nz
-----Original Message----- From: Derek Goring mulgor@gmail.com Sent: Monday, 6 January 2020 09:04 To: info@geonet.org.nz Subject: CREX change of format: no leading zeros
Hi there
For 12 years (since 2007) you have had directories and filenames in CREX like this:
ftp://ftp.geonet.org.nz/tsunami/data/2007/2007.082/WLGT.TG/2007.082.WLGT.40-CRX.TG.D
but this year, 2020, you have changed it to:
ftp://ftp.geonet.org.nz/tsunami/data/2020/2020.1/WLGT.TG/2020.1.WLGT.40-CRX.TG.D
i.e., no leading zeros before day numbers.
You may think you've foiled me, but this fixes it:
day=$(echo $day | sed 's/^0*//')
Happy New Year!!
-- Derek Goring Mulgor Consulting Ltd P. O. Box 9320 Tower Junction Christchurch 8149, New Zealand Phone: +64 3 942 5452 Fax: +64 3 942 5461 Mobile: +64 212 777 639 WebSite: www.mulgor.co.nz