Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function "ReadLandsat8()" error #8

Open
gituser204 opened this issue Sep 4, 2024 · 0 comments
Open

Function "ReadLandsat8()" error #8

gituser204 opened this issue Sep 4, 2024 · 0 comments

Comments

@gituser204
Copy link

gituser204 commented Sep 4, 2024

Hello to everyone,

I have a problem with the ReadLandsat8 function. I am trying to read the product ‘LC08_L1TP_188034_20240618_02_RT’ downloaded via EarthExplorer. The problem is that when I run:

setwd("C:/QGIS/Raster")
product <- "LC08_L1TP_188034_20240618_20240618_02_RT"
l <- ReadLandsat8(product)

I get the following error:

Error in .rowNamesDF<-(x, value = value) :
duplicate ‘row.names’ are not allowed
In addition: Warning message:
non-unique values when setting 'row.names': ‘collection_category’, ‘datum’, ‘digital_object_identifier’, ‘ellipsoid’, ‘file_name_angle_coefficient’, ‘file_name_angle_sensor_azimuth_band_4’, ‘file_name_angle_sensor_zenith_band_4’, ‘file_name_angle_solar_azimuth_band_4’, ‘file_name_angle_solar_zenith_band_4’, ‘file_name_band_1’, ‘file_name_band_10’, ‘file_name_band_11’, ‘file_name_band_2’, ‘file_name_band_3’, ‘file_name_band_4’, ‘file_name_band_5’, ‘file_name_band_6’, ‘file_name_band_7’, ‘file_name_band_8’, ‘file_name_band_9’, ‘file_name_metadata_odl’, ‘file_name_metadata_xml’, ‘file_name_quality_l1_pixel’, ‘file_name_quality_l1_radiometric_saturation’, ‘grid_cell_size_panchromatic’, ‘grid_cell_size_reflective’, ‘grid_cell_size_thermal’, ‘landsat_product_id’, ‘map_projection’, ‘orientation’, ‘origin’, ‘output_format’, ‘processing_level’, ‘utm_zone’.

I think it may stem from an error in reading the metadata. Could someone kindly help me?

P.S. I'm using RStudio on Windows 11 - 64 bit.

Giovanni

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant