UCSCLibrary / ucsc-library-digital-collections

A rails app based on Hyrax to be used as a repository for UCSC library digital collections.
1 stars 2 forks source link

(5) Aerial photos: problematic images #651

Closed rmjaffe closed 1 year ago

rmjaffe commented 1 year ago

Describe the bug

Some of the images in the aerials collection aren't loading correctly. I suspect this is not a display/UV issue but is rather and ingest/image processing issue.

Examples: 1966-D : https://digitalcollections.library.ucsc.edu/records/fn107341x 1967-M: https://digitalcollections.library.ucsc.edu/records/8k71np053 1976-77 Color: https://digitalcollections.library.ucsc.edu/records/f1881r39c

Expected behavior

Images should display in full.

Acceptance criteria

Done means:

Related work

418

rmjaffe commented 1 year ago

As a next step @afrebert @chesleyperry @rmjaffe will each thoroughly QA a couple flights in production noting the filenames for any problematic images.

rmjaffe commented 1 year ago

1985-C (59 images): 1985c_853012_4-07.tif

1961-B (43 images): clear

1954-A (119 images; 13.5% error rate): 1954a_c20607_1-102.tif 1954a_c20607_1-105.tif 1954a_c20607_1-106.tif 1954a_c20607_1-107.tif 1954a_c20607_1-015.tif 1954a_c20607_1-048.tif 1954a_c20607_1-077.tif 1954a_c20607_1-078.tif 1954a_c20607_1-080.tif 1954a_c20607_1-082.tif 1954a_c20607_1-083.tif 1954a_c20607_1-084.tif 1954a_c20607_1-085.tif 1954a_c20607_1-089.tif 1954a_c20607_1-092.tif 1954a_c20607_1-095.tif

1931-A (9 images): clear

2001 (76 images; 28% error rate): 2001_ccc-bqk-c_121-01.tif 2001_ccc-bqk-c_121-02.tif 2001_ccc-bqk-c_121-03.tif 2001_ccc-bqk-c_121-04.tif 2001_ccc-bqk-c_121-05.tif 2001_ccc-bqk-c_121-06.tif 2001_ccc-bqk-c_121-07.tif 2001_ccc-bqk-c_121-08.tif 2001_ccc-bqk-c_121-09.tif 2001_ccc-bqk-c_122-01.tif 2001_ccc-bqk-c_122-02.tif 2001_ccc-bqk-c_122-03.tif 2001_ccc-bqk-c_122-04.tif 2001_ccc-bqk-c_122-05.tif 2001_ccc-bqk-c_122-06.tif 2001_ccc-bqk-c_123-02.tif 2001_ccc-bqk-c_123-03.tif 2001_ccc-bqk-c_123-04.tif 2001_ccc-bqk-c_123-06.tif 2001_ccc-bqk-c_123-07.tif 2001_ccc-bqk-c_124-17.tif

chesleyperry commented 1 year ago

I'm not sure if this helps diagnose the issue, but the display issue only seems to be a problem at the standard size the image displays on the work page. If you click on "download" it displays fine for 1000 pixels and 250 pixels. The thumbnails are fine and I can zoom in to the problematic portion in the UV with no problems. 1949 1949_bux_10f-087.tif 1949_bux_10f-088.tif 1949_bux_11f-012.tif 1949_bux_11f-013.tif 1949_bux_11f-014.tif 1949_bux_11f-015.tif 1949_bux_11f-016.tif

afrebert commented 1 year ago

1928 A through H: clear

1931c_c1437_54.tif

1931-D (95 images; 17% error rate) 1931d_c1550_16.tif 1931d_c1550_19.tif 1931d_c1550_21.tif 1931d_c1550_22.tif 1931d_c1550_23.tif 1931d_c1550_24.tif 1931d_c1550_33.tif 1931d_c1550_34.tif 1931d_c1550_39.tif 1931d_c1550_55.tif 1931d_c1550_72.tif 1931d_c1550_74.tif 1931d_c1550_78.tif 1931d_c1550_80.tif 1931d_c1550_84.tif 1931d_c1550_94.tif

rschwab commented 1 year ago

Problem files are all the 800px wide derivatives. As a stopgap measure, we'll try #652

rschwab commented 1 year ago

I've found another example of a broken image, this one from the Universal Viewer loading a 799px image. These images can be found in the Cantaloupe cached images folders, so I believe this is an intermittent error in Cantaloupe.

rmjaffe commented 1 year ago

@chesleyperry @afrebert #652 in in production QA and it looks like it has resolved the image display issue for the aerials. Mind having a look at a few of the 'problem' images to confirm that they now look OK?

chesleyperry commented 1 year ago

The default view of the images seems to be fixed. Problematic photos still display the rectangular white box if I click to view the image in the universal viewer. Viewing the image in full screen, zooming in or out makes the box disappear. All images in this flight have this problem (as far as I can see) 1931-D Santa Cruz County Flight C-1550 Here's a link to a single image: 1931-D Santa Cruz County Flight C-1550 34

Other images: 1985-C Lexington Reservoir Drainage Flight 853012 4-7 1954-A Santa Cruz County Flight C-20607 1-84 1954-A Santa Cruz County Flight C-20607 1-105

rmjaffe commented 1 year ago

@chesleyperry I'm having a look at the works in 1931-D and seeing that too. Ergh.