Closed mmcfarland closed 4 years ago
Additional thoughts or notes
./db ls -l "/Beescape/TestUpload"|awk -F"ago" '{print $2}'|sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'|xargs -I{} ./db get {} .
2019/PA_nesting_5km.tif
in the VRT and upload it to {StagingBucket}/5km/2019/
. The new VRT will overwrite the nesting VRT in {StagingBucket/5km}
UMN provided 490 rasters (48 states, 5 index rasters each). They are available in the Azavea Dropbox account (see LastPass). Generate the 5km and 3km VRTs that reference these files, using the general instructions here and upload them to the
beekeepers-staging-data-us-east-1
bucket.Given these files are ~150GB and ultimately need to go from dropbox to S3 storage, this would should be performed on an ad-hoc EC2 instance in the ICP AWS account. The
gdalbuildvrt
command only reads metadata, so amicro
orsmall
instance should be sufficient.While generating VRTs, we'll want to avoid changing source code, so continue to use the filenaming conventions defined here:
https://github.com/project-icp/bee-pollinator-app/blob/3b207d0b2fad78993e2a21b263c3f4aebe1b884b/src/icp/apps/beekeepers/views.py#L112-L117
My suggested strategy that will allow cutover and rollback in case of problems are roughly:
v2
(or similar) to each tif ifle, and then generating a VRT against the new names, or testing to see if relative paths work if we copy the source rasters into a subdirectoryv2
. Testing can be done via the dev environment, which can be altered to point to test bucket or test bucket directories.If there are significant problems, we can roll back to the old VRTs and the application can function as normal.
When there is sign off, clean up tasks are: