0

I am trying to work with the NHDPlus High Resolution dataset from the USGS. Looking at the documentation, there should be all sorts of data table available as well as mapping layers but the only thing I can access from the GDB file are the following layers:

Input:

import fiona fiona.listlayers(r'.\NHDPlus_H_National_Release_1_GDB.zip')

Output: ['NHDPlusConnect', 'NHDPlusGageSmooth', 'WBDHU12', 'NonNetworkNHDFlowline', 'NetworkNHDFlowline', 'NHDWaterbody', 'NHDPoint', 'NHDPlusWall', 'NHDPlusSink', 'NHDPlusGage', 'NHDPlusCatchment', 'NHDPlusBoundaryUnit', 'NHDLine', 'NHDArea', 'NHDPlusFlow']

How can I access the data tables that are also in this file?

Edit: I expect to see the following features and table as described in pages 5 and 6 of the user documentation previously referenced:

Table 2 from page 5 of User Documentation [Table 3 from page 6 of User Documentation 4

Vince
  • 20,017
  • 15
  • 45
  • 64
  • From my understanding ESRI has understandably and purposely made it difficult to manipulate .gdb files in open source software. I'm unsure what you are trying to accomplish, but I'd recommend taking a look at this and this post. If that doesn't point you in the right direction, please edit and explain your question further. – Binx May 24 '23 at 16:44
  • @Binx, I have edited the question to show what I except to find but have been unable to access. – Wesley Young May 24 '23 at 17:03
  • Is there a subset of the data to download? I dont want to have to download 26 GB to test with – BERA May 24 '23 at 17:39
  • 1
    @BERA if you go to the following link, the beta version is broken into individual Hydrological units. https://prd-tnm.s3.amazonaws.com/index.html?prefix=StagedProducts/Hydrography/NHDPlusHR/Beta/GDB/ – Wesley Young May 24 '23 at 17:54
  • I've downloaded https://prd-tnm.s3.amazonaws.com/StagedProducts/Hydrography/NHDPlusHR/Beta/GDB/NHDPLUS_H_0101_HU4_GDB.zip and find 85 layers with fiona.listlayers – BERA May 24 '23 at 18:06
  • @BERA, I just checked up on these data and the national release combines all the features and removes most of the constituent tables yet the USGS only mentions this in an article posted elsewhere.? I see where I have been going wrong. Thank you for your help. https://www.usgs.gov/national-hydrography/news/usgs-announces-nhdplus-hr-national-release-1 – Wesley Young May 24 '23 at 18:25
  • I think both the Esri and Open GBD libraries expect the zipfile contents to be extracted to a local filesystem. Direct access into variable length records within a zipfile is nightmarish. – Vince May 24 '23 at 19:24

0 Answers0