DOI-USGS / fort-pymdwizard

The MetadataWizard is a useful tool designed to facilitate FGDC metadata creation for spatial and non-spatial data sets. It is a cross-platform desktop application built using an open-source Python architecture.
https://usgs.github.io/fort-pymdwizard/
Other
62 stars 21 forks source link

Entity and Attribute tab not importing table #148

Closed mchenaille closed 2 years ago

mchenaille commented 2 years ago

Email sdmapps@usgs.gov if you wish to contact the USGS Science Data Management (SDM) team’s application support inbox directly with bugs or feature requests. Otherwise, use the template below.

Describe the bug When I browse to dataset and select the proper file to load the attribute table I get a "Data file error" message. This occurs on different computers, different VPN status, and with both vector and raster files.

To Reproduce Steps to reproduce the behavior:

  1. Go to Entity and Attribute tab
  2. Click on 'Detailed,' then 'Browse to Dataset'
  3. Select the file you want to load
  4. See error

Expected behavior Loads the attribute fields as columns, automatically filling in the data type as well as minimum and maximum values. I can then usually manually change things.

Screenshots image

Desktop (please complete the following information):

dignizio-usgs commented 2 years ago

@mchenaille From the error there, it looks like this could possibly be related to a mismatch between the set of values defined in your XML metadata record, and the number of columns found in your .img file?

One troubleshooting approach might be to copy your XML (to avoid losing work), and completely delete the E/A section. Then trying to rebuild that section in the Wizard by navigating to and reading from the .img file again. If you still have an issue, you can follow up directly with @ennsk and @tnorkin - providing the file would be helpful to see if the behavior can be recreated and debugged.

mchenaille commented 2 years ago

The issue has been resolved with the most recent version and update. Thank you!

(metadatawizard_master_9_2.0.7.exe)

dignizio-usgs commented 2 years ago

Thanks for the update @mchenaille , glad to hear. Will close.