<?xml version='1.0' encoding='UTF-8'?>
<metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <idinfo>
    <citation>
      <citeinfo>
        <origin>Amanda R. Whaling</origin>
        <origin>Richard R. McDonald</origin>
        <origin>Travis M. Knight</origin>
        <origin>Jessica Z. LeRoy</origin>
        <origin>Andrea L. Creighton</origin>
        <pubdate>20260116</pubdate>
        <title>National Cross-Section Database (NXSDB), Water Year 2023 (schema version 1.2.0, September 2025)</title>
        <edition>v1.2.0</edition>
        <geoform>vector digital data</geoform>
        <onlink>https://doi.org/10.5066/P13PPXKN</onlink>
      </citeinfo>
    </citation>
    <descript>
      <abstract>This data release presents a national cross-section (XS) database (NXSDB) of bathymetric cross-sections collected during water year (WY) 2023 (October 1, 2022, to September 30, 2023). The WY 2023 NXSDB has been approved by the U.S. Geological Survey (USGS) for publication and supersedes the provisional version. The data were collected by hydrographers during routine site visits to thousands of USGS streamgaging stations for river discharge measurements. The database comprises approximately 64,500 individual cross-sections from 8,556 stations across the United States and is provided as an Open Geospatial Consortium (OGC) GeoPackage file named NXSDB_WY2023_CONUS.gpkg.

A rendered HTML README documentation file (README_Documentation.html) accompanies the release and provides essential context for data users, including information on the database’s development, structure, processing assumptions, and data inclusion criteria. The cross-section data have undergone automated quality checks to identify missing values, structural inconsistencies, and extreme outliers. However, unlike finalized discharge measurements published in the National Water Information System (NWIS), these data have not received the same level of manual review. Although approved for release by the USGS, no expressed or implied warranty is made regarding their use, display, or suitability for other systems or for general or scientific applications. Users are encouraged to consult the accompanying README to understand the quality control procedures and data cleaning methods applied prior to database integration, as well as the assumptions involved. This understanding is essential for appropriately interpreting the data and assessing its suitability for specific analytical purposes.

The README also describes the naming conventions used in the WY 2023 database, which is organized into table layers within the GeoPackage. The file contains three main types of layers. The "geometry" layer is the only one that includes geospatial information and contains georeferenced and hydrographically addressed points representing station locations, along with summary information on the total number of cross-section measurements. Each station has a corresponding "record" layer that summarizes the available cross-section measurements. The third main layer type is the "measurement" layer, which represents individual cross-sections. This layer has two subtypes corresponding to the primary methodologies used to collect discharge measurements: midsection-method measurements, which are not georeferenced, and moving-boat acoustic Doppler current profiler (ADCP) measurements, which are sometimes georeferenced with real-world spatial coordinates (latitude and longitude).

Due to the size of the database, programmatic access is recommended for efficient querying and analysis. To support users, demonstration packages in both R and Python are included in demo.zip. These packages contain custom functions designed to simplify interaction with the GeoPackage, since standard methods in these languages may be inefficient for files of this size.

The database follows a structured versioning system aligned to changes the custom schema provided with this data release (NXSDB_schema_v1.2.0.json), which defines and validates the GeoPackage structure. This approved version of the database (v1.2.0) supersedes the previous version, which was provisionally published to incorporate improvements based on user feedback. A detailed record of changes is provided in the accompanying change_log.txt file. The previous version remains accessible as a tagged instance within a ZIP package so users can continue to access it if needed. The station master file (NXSDB_WY2023_CONUS_station_master.txt) lists all stations evaluated for inclusion. Stations that appear in this list but are absent from the GeoPackage had no cross-sections meeting the database’s inclusion criteria. Further processing details are available in the accompanying metadata XML file and README.</abstract>
      <purpose>In 2022, the National Hydrologic Geospatial Fabric (NHGF) initiated a project to retrieve cross-section data from Aquarius, the U.S. Geological Survey’s internal platform for managing hydrologic time-series data. The primary goal of this effort is to make these cross-sections publicly available in a standardized database to support a wide range of hydrologic modeling applications. Users are encouraged to consult the accompanying README, which describes the quality-control procedures and data-cleaning methods applied prior to database integration, as well as the assumptions made. Reviewing this information is essential for appropriately interpreting the data and evaluating its suitability for specific analytical purposes.</purpose>
    </descript>
    <timeperd>
      <timeinfo>
        <rngdates>
          <begdate>20221001</begdate>
          <enddate>20230930</enddate>
        </rngdates>
      </timeinfo>
      <current>ground condition</current>
    </timeperd>
    <status>
      <progress>Complete</progress>
      <update>As needed</update>
    </status>
    <spdom>
      <bounding>
        <westbc>-165.5100</westbc>
        <eastbc>-67.3181</eastbc>
        <northbc>70.2814</northbc>
        <southbc>19.7121</southbc>
      </bounding>
    </spdom>
    <keywords>
      <theme>
        <themekt>ISO 19115 Topic Category</themekt>
        <themekey>geoscientificInformation</themekey>
        <themekey>inlandWaters</themekey>
        <themekey>transportation</themekey>
      </theme>
      <theme>
        <themekt>USGS Thesaurus</themekt>
        <themekey>bathymetry</themekey>
        <themekey>bathymetry measurement</themekey>
        <themekey>river reaches</themekey>
        <themekey>monitoring</themekey>
        <themekey>Geomorphology</themekey>
        <themekey>Hydraulic Geometry</themekey>
      </theme>
      <theme>
        <themekt>None</themekt>
        <themekey>cross-section</themekey>
        <themekey>cross section</themekey>
        <themekey>channel depth</themekey>
        <themekey>channel width</themekey>
        <themekey>cross-sectional area</themekey>
      </theme>
      <theme>
        <themekt>USGS Metadata Identifier</themekt>
        <themekey>USGS:689107cfd4be02693f467a60</themekey>
      </theme>
      <place>
        <placekt>Common geographic areas</placekt>
        <placekey>North America</placekey>
        <placekey>United States</placekey>
      </place>
    </keywords>
    <accconst>None. Please see 'Distribution Info' for details.</accconst>
    <useconst>The cross-section data have undergone automated quality checks to identify missing values, structural inconsistencies, and extreme outliers. However, unlike finalized discharge measurements published in the National Water Information System (NWIS), these data have not received the same level of manual review. Although approved for release by the U.S. Geological Survey (USGS), no expressed or implied warranty is made regarding their use, display, or suitability on other systems or for general or scientific applications. Users are encouraged to consult the accompanying README_Docementation.html to understand the quality control procedures and data cleaning methods applied prior to database integration, as well as the assumptions involved. This understanding is essential for appropriately interpreting the data and assessing its suitability for specific analytical purposes.</useconst>
    <ptcontac>
      <cntinfo>
        <cntperp>
          <cntper>Travis M. Knight</cntper>
          <cntorg>U.S. Geological Survey, Water Resources Mission Area</cntorg>
        </cntperp>
        <cntpos>Hydrologist</cntpos>
        <cntaddr>
          <addrtype>mailing and physical</addrtype>
          <address>Suite 704</address>
          <city>Arden</city>
          <state>NC</state>
          <postal>28704</postal>
          <country>US</country>
        </cntaddr>
        <cntvoice>479-442-4888 x212</cntvoice>
        <cntemail>tknight@usgs.gov</cntemail>
      </cntinfo>
    </ptcontac>
    <datacred>These data were collected at USGS streamgaging stations by dedicated hydrographers across the United States. Their commitment to measuring streamflow under challenging and remote conditions supports the near real-time delivery of discharge, water-level, and cross-section information included in this database. Amanda Whaling (Lower Mississippi-Gulf Water Science Center) drafted documentation, designed the database schema, created demonstration notebooks, and developed the software for GeoPackage construction. Richard McDonald (Water Resources Mission Area) developed software to pull Aquarius gage record attachments, extract cross-sections, and export results to various file formats. Travis Knight (Hydrologic Networks Branch) provided critical guidance on discharge measurement procedures and contributed QRev software updates that enabled the extraction of moving-boat cross sections. All authors of the NXSDB contributed to developing the conceptual framework of the database. In addition, Carl Legleiter (Water Resources Mission Area) provided valuable feedback as a database user, which led to clearer documentation and greater consistency for the benefit of all end users.</datacred>
    <native>Ubuntu 64-bit on Windows Subsystem for Linux 2 (WSL2); python 3.10.12</native>
    <crossref>
      <citeinfo>
        <origin>D. Phil Turnipseed</origin>
        <origin>Vernon B. Sauer</origin>
        <pubdate>2010</pubdate>
        <title>Discharge measurements at gaging stations</title>
        <geoform>publication</geoform>
        <pubinfo>
          <pubplace>Reston, VA</pubplace>
          <publish>US Geological Survey</publish>
        </pubinfo>
        <onlink>https://doi.org/10.3133/tm3A8</onlink>
      </citeinfo>
    </crossref>
    <crossref>
      <citeinfo>
        <origin>Timothy O Hodson</origin>
        <origin>Jayaram A Hariharan</origin>
        <pubdate>2023</pubdate>
        <title>dataretrieval (python): a Python package for discovering and retrieving water data available from Federal hydrologic web services</title>
        <geoform>dataset</geoform>
        <pubinfo>
          <pubplace>https://www.sciencebase.gov</pubplace>
          <publish>U.S. Geological Survey</publish>
        </pubinfo>
        <onlink>https://doi.org/10.5066/P94I5TX3</onlink>
      </citeinfo>
    </crossref>
    <crossref>
      <citeinfo>
        <origin>Taher Chegini</origin>
        <origin>Hong-Yi Li</origin>
        <origin>L. Leung</origin>
        <pubdate>2021</pubdate>
        <title>HyRiver: Hydroclimate Data Retriever</title>
        <geoform>publication</geoform>
        <serinfo>
          <sername>Journal of Open Source Software</sername>
          <issue>vol. 6, issue 66</issue>
        </serinfo>
        <othercit>ppg. 3175</othercit>
        <onlink>https://doi.org/10.21105/joss.03175</onlink>
      </citeinfo>
    </crossref>
    <crossref>
      <citeinfo>
        <origin>David S Mueller</origin>
        <pubdate>2020</pubdate>
        <title>QRev</title>
        <geoform>dataset</geoform>
        <pubinfo>
          <pubplace>https://www.sciencebase.gov</pubplace>
          <publish>U.S. Geological Survey</publish>
        </pubinfo>
        <onlink>https://doi.org/10.5066/p9oz8qdl</onlink>
      </citeinfo>
    </crossref>
    <crossref>
      <citeinfo>
        <origin>Open Geospatial Consortium (OGC)</origin>
        <pubdate>2023</pubdate>
        <title>OGC GeoPackage Encoding Standard</title>
        <geoform>publication</geoform>
        <onlink>https://docs.ogc.org/is/12-128r19/12-128r19.html</onlink>
      </citeinfo>
    </crossref>
  </idinfo>
  <dataqual>
    <attracc>
      <attraccr>The cross-section data were not subject to accuracy tests and are provided as-is, without verification of positional or vertical accuracy.</attraccr>
    </attracc>
    <logic>Cross-section measurements were processed using proprietary software (e.g., WinRiver, RiverSurveyor, SxS Pro, FlowTracker) for midsection measurements or USGS QRev software for moving-boat ADCP measurements. Valid measurements were identified by matching timestamps with published NWIS discharge values. Orientation consistency was ensured for midsection measurements, and georeferencing checks were performed for moving-boat ADCP measurements. See processing steps for more details. NXSDB data were accessed via the internal Aquarius Time Series API and processed for this standardized database; values should not be expected to exactly match the original source data. Data availability in the NXSDB reflects access at the time of download, so users should be aware that subsequent data queries could return different or additional values.</logic>
    <complete>Cross-sections with all missing data or not associated with a discharge measurement published in NWIS were removed. Some cross-sections may have missing data values. For attributes where missing or empty values are allowed in the GeoPackage, a "NULL" is listed in the sqlite_type field of the JSON schema included with this data release.</complete>
    <posacc>
      <horizpa>
        <horizpar>Most cross-sections are not georeferenced. Additional checks were applied to georeferenced moving-boat measurements, however no tests were conducted to verify horizontal accuracy. The discharge measurement processing metadata was required to indicate that data from the GNSS antenna had been used as the navigation reference. In addition, all cross-section points were required to fall within a 10-mile radius of the station location. If either of these checks failed, the georeferencing data were omitted from the cross-section table, although depth and distance values were retained.</horizpar>
      </horizpa>
      <vertacc>
        <vertaccr>All cross-sections in the database are not vertically referenced. The accuracy of depth measurements depends on the acoustic or mechanical methods used during the collection of the discharge measurement.</vertaccr>
      </vertacc>
    </posacc>
    <lineage>
      <procstep>
        <procdesc>A hydrographer makes a discharge measurement using either the midsection method or the moving-boat Acoustic Doppler Current Profiler (ADCP) method (Turnipseed and Sauer, 2010).</procdesc>
        <procdate>20221001</procdate>
      </procstep>
      <procstep>
        <procdesc>The hydrographer processes the measurement using proprietary software associated with the instrument used (e.g., WinRiver, RiverSurveyor, SxS Pro, FlowTracker) for measurements made using the midsection method, or uses USGS QRev software for measurements made using the moving-boat ADCP method.</procdesc>
        <procdate>20221001</procdate>
      </procstep>
      <procstep>
        <procdesc>The processed discharge data is loaded into SVMAQ (Site Visit Mobile Aquarius), generating an XML file that can be combined with field notes collected in SVMAQ.</procdesc>
        <procdate>20221001</procdate>
      </procstep>
      <procstep>
        <procdesc>The output file from SVMAQ is uploaded to AQUARIUS Time-Series, the internal USGS platform for storing and processing hydrologic time-series data.</procdesc>
        <procdate>20221001</procdate>
      </procstep>
      <procstep>
        <procdesc>The discharge value and any rating curve shifts undergo a thorough review process. The discharge measurement values are published to the National Water Information System (NWIS), but the underlying cross-section data remains in Aquarius and is not publicly accessible.</procdesc>
        <procdate>20221001</procdate>
      </procstep>
      <procstep>
        <procdesc>USGS Water Services (https://waterservices.usgs.gov/) was used to generate a list of potential streamgage station IDs there were active in water year 2023. The dataretrieval (Hodson and others, 2023) and HyRiver (Chegini and others, 2021) Python packages were used to add station metadata and hydrographic addressing information, respectively, for each station. The resulting station master table, 'NXSDB_WY2023_CONUS_station_master.txt', is provided with this data release. Please see the 'demo.zip' archive for R and Python functions for efficiently reading the text file.</procdesc>
        <procdate>20230101</procdate>
      </procstep>
      <procstep>
        <procdesc>Python is used to programmatically access and download the cross-section data from the XML output from SVMAQ for all stations in the generated station list ('NXSDB_WY2023_CONUS_station_master.txt'), compiling the results into two JSON files organized by station, one for measurements made with the midsection method, and the other for measurements made with the moving-boat ADCP method.</procdesc>
        <procdate>20250801</procdate>
      </procstep>
      <procstep>
        <procdesc>A Python script processes the stations listed in the station list by parsing the output JSON files into station dictionaries. The first step in building the station dictionary is to check measurement entries for each station and from each JSON file for valid cross-sections. A valid cross-section must (1) contain data in the cross-section table within the measurement entry and (2) have a measurement timestamp that corresponds to a discharge value published in NWIS. To support this validation, discharge measurements are retrieved from NWIS using the get_discharge_measurements() function in the Python dataRetrieval package (Hodson and Hariharan, 2023). The timestamps ("mmt_Timestamp") recorded in the cross-section metadata are then compared to the NWIS records, and the corresponding discharge value is stored in the record table as "NWIS_Discharge_cfs". This safeguard prevents potentially unreliable cross-sections from being included in the database and resulted in the exclusion of a relatively small number of measurements (approximately 600) where discharge values were not available in NWIS. Additional validation checks exclude measurements that lack measurable channel width or cross-sectional area values, as determined by the "NXSDB_Width_ft" and "NXSDB_Area_sf" attributes in the record layer. In most cases, these failures were related to having fewer than two valid distance and depth points within the cross-section.</procdesc>
        <procdate>20250925</procdate>
      </procstep>
      <procstep>
        <procdesc>After validating the cross-sections, the second step in building the station dictionary is cleaning any remaining valid cross-section tables and adding the cleaned table to the station dictionary. For midsection measurements, the cleaning involves reversing the orientation of profiles collected by the hydrographer that were initiated on the right side of the stream (when viewed facing downstream, in the direction the water is flowing) and ended on the left; reversing right-oriented midsection measurements ensures all cross-sections in the final database are provided in the same left-to-right orientation. For moving-boat ADCP measurements, the mean cross-section output from QRev (Mueller, 2020) is always oriented from left to right. Cleaning for these measurements involves removing invalid NULL depths, projecting profile endpoints outward by half a grid-cell to ensure consistent width calculations while retaining original depth values, discarding the original grid-centered endpoints, and converting all distances and depths from meters to feet. If latitude and longitude coordinates are present, the new endpoints are recalculated, and the data undergoes a completeness check and a spatial verification to ensure the cross-section points fall within 10 miles of the station location. If either check fails, the latitude and longitude columns are removed, though the depth and distance profile is retained; if both pass, the measurement is flagged as a georeferenced cross-section.</procdesc>
        <procdate>20250925</procdate>
      </procstep>
      <procstep>
        <procdesc>The third step in building the station dictionary is creating a table summarizing the metadata for each measurement and adding it to the station dictionary. The resulting table includes site visit information noted by the hydrographer in SVMAQ.</procdesc>
        <procdate>20250925</procdate>
      </procstep>
      <procstep>
        <procdesc>The fourth step involved in making the station dictionary is generating station summary information based on the validated and cleaned cross-sections in the station dictionary and adding the results to the station dictionary. The station information includes the first and last cross-section timestamps, cross-section totals, and the number of georeferenced cross-sections for that station.</procdesc>
        <procdate>20250925</procdate>
      </procstep>
      <procstep>
        <procdesc>A Python script reads and merges station dictionaries created from each JSON file, if available, as some stations might have measurements from both methods. These merged dictionaries are used to create a final GeoPackage with three types of tables or layers, each assigned specific names. First, station summary information from the dictionaries is merged with station metadata stored in the 'NXSDB_WY2023_CONUS_station_master.txt' file, which lists all stations checked for cross-sections in Aquarius. Stations without valid cross-sections from either measurement method are excluded from the merged table. The station location information from NWIS is used to create a layer named 'geometry,' storing the stations as point vector objects referenced to WGS84, resulting in a single geometry layer. Second, a 'record' layer is created for each station, containing combined cross-section metadata from both measurement methods with each record layer named according to the station ID. A unique measurement ID is assigned to each cross-section based on the station number, date, measurement method, and measurement number on the reported day, and stored as an attribute in the record layer called 'mm_ID'. Finally, measurement layers are added for each valid cross-section indicated in the record layer with each measurement layer named according to the assigned measurement ID. All layers are written incrementally, with thread pool processing used to expedite creation of the comprehensive GeoPackage file provided in this data release as 'NXSDB_WY2023_CONUS.gpkg.' The writing software enforces the schema defined in the accompanying JSON schema file ('NXSDB_schema_v1.2.0.json') to ensure consistency across all layers. As part of this enforcement, each attribute is stored in one of three data types that include TEXT, INTEGER, or REAL, with the exception of the 'geom' attribute, which is stored in GeoPackage binary format as a BLOB, in compliance with the OGC standard. The schema file further specifies floating-point precision for REAL-type attributes according to the 'precision' field. For more details on the schema, see the README documentation.</procdesc>
        <procdate>20250925</procdate>
      </procstep>
      <procstep>
        <procdesc>A Python function was written that checks the final GeoPackage against the target JSON schema for the NXSDB provided with this data release (NXSDB_schema_v1.2.0.json). The function outputs a text file with validation warnings if any are encountered, or fails if required data or tables are missing. Validation warnings include the existence of tables in the GeoPackage that are not anticipated by the target schema used by the authors to subsequently inspect and validate manually.</procdesc>
        <procdate>20250925</procdate>
      </procstep>
    </lineage>
  </dataqual>
  <spdoinfo>
    <direct>Vector</direct>
    <ptvctinf>
      <sdtsterm>
        <sdtstype>Entity point</sdtstype>
        <ptvctcnt>7451</ptvctcnt>
      </sdtsterm>
    </ptvctinf>
  </spdoinfo>
  <spref>
    <horizsys>
      <geograph>
        <latres>0.0197262852</latres>
        <longres>0.0277477663</longres>
        <geogunit>Decimal seconds</geogunit>
      </geograph>
      <geodetic>
        <horizdn>WGS_1984</horizdn>
        <ellips>WGS_84</ellips>
        <semiaxis>6378137.0</semiaxis>
        <denflat>298.257223563</denflat>
      </geodetic>
    </horizsys>
  </spref>
  <eainfo>
    <detailed>
      <enttyp>
        <enttypl>NXSDB_WY2023_CONUS.gpkg</enttypl>
        <enttypd>GeoPackage file containing stations with cross-section data in water year 2023. The described metadata is for the 'geometry' layer within the GeoPackage and contains station attribute information for the 8,556 gages with at least one cross section in the database. Definition sources labeled as 'NWIS' (National Water Information System) indicate that the attribute was downloaded via the Python dataretrieval package (Hodson and others, 2023). NWIS-sourced attribute definitions can be found at https://help.waterdata.usgs.gov/codes-and-parameters. Definition sources labeled as 'NHD' (National Hydrography Dataset) indicate that the attribute was downloaded via the HyRiver package (Chegini and others, 2021). NHD-sourced attribute definitions can be found at https://www.usgs.gov/ngp-standards-and-specifications/national-hydrography-dataset-nhd-data-dictionary-feature-classes. 'Producer Defined' attributes were constructed from Python code. The 'geom' attribute is defined by the Open Geospatial Consortium (OGC). See processing steps for more information. In addition to the 'geometry' layer, there are additional record and measurement layers containing the cross-section metadata and data, respectively. See the 'README_Documentation.html' provided with this data release for a full description of the GeoPackage contents.</enttypd>
        <enttypds>Producer Defined</enttypds>
      </enttyp>
      <attr>
        <attrlabl>station</attrlabl>
        <attrdef>A string of numeric characters representing the station number.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <udom>Numeric station number.</udom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>station_nm</attrlabl>
        <attrdef>Name of the station.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <udom>Alphanumeric station name.</udom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>total_mmt_count</attrlabl>
        <attrdef>Total number of midsection and moving-boat measurements for the given water year.</attrdef>
        <attrdefs>Producer Defined</attrdefs>
        <attrdomv>
          <rdom>
            <rdommin>1</rdommin>
            <rdommax>139</rdommax>
          </rdom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>ms_mmt_count</attrlabl>
        <attrdef>Number of midsection measurements for the given water year.</attrdef>
        <attrdefs>Producer Defined</attrdefs>
        <attrdomv>
          <rdom>
            <rdommin>0</rdommin>
            <rdommax>55</rdommax>
          </rdom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>ms_first_mnnt_ts</attrlabl>
        <attrdef>Timestamp of the first midsection measurement for the specific station in ISO 8601 format with the time in UTC.</attrdef>
        <attrdefs>Producer Defined</attrdefs>
        <attrdomv>
          <udom>A measurement timestamp in ISO 8601 format with the time in UTC.</udom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>ms_last_mmt_ts</attrlabl>
        <attrdef>Timestamp of the last midsection measurement for the specific station in ISO 8601 format with the time in UTC.</attrdef>
        <attrdefs>Producer Defined</attrdefs>
        <attrdomv>
          <udom>A measurement timestamp in ISO 8601 format with the time in UTC.</udom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>mb_mmt_count</attrlabl>
        <attrdef>Number of moving-boat ADCP measurements for the given water year.</attrdef>
        <attrdefs>Producer Defined</attrdefs>
        <attrdomv>
          <rdom>
            <rdommin>0</rdommin>
            <rdommax>139</rdommax>
          </rdom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>mb_first_mmt_ts</attrlabl>
        <attrdef>Timestamp of the first moving-boat ADCP measurement for the specific station in ISO 8601 format with the time in UTC.</attrdef>
        <attrdefs>Producer Defined</attrdefs>
        <attrdomv>
          <udom>A measurement timestamp in ISO 8601 format with the time in UTC.</udom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>mb_last_mmt_ts</attrlabl>
        <attrdef>Timestamp of the last moving-boat ADCP measurement for the specific station in ISO 8601 format with the time in UTC.</attrdef>
        <attrdefs>Producer Defined</attrdefs>
        <attrdomv>
          <udom>A measurement timestamp in ISO 8601 format with the time in UTC.</udom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>num_georeferenced</attrlabl>
        <attrdef>Number of georeferenced moving-boat ADCP measurements for the specific station.</attrdef>
        <attrdefs>Producer Defined</attrdefs>
        <attrdomv>
          <rdom>
            <rdommin>0</rdommin>
            <rdommax>36</rdommax>
          </rdom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>reachcode</attrlabl>
        <attrdef>Unique identifier for a reach, which is a segment of a waterbody that is part of the NHD network. It is used to identify the location of a reach within the NHD surface water drainage network. Reach Codes are essential for linking water-related entities and analyzing their upstream/downstream relationships. The first eight digits are the Watershed Boundary Dataset HUC8 code. The next six digits are randomly assigned, sequential numbers that are unique within a HUC8 (USGS, 2024).</attrdef>
        <attrdefs>NHD</attrdefs>
        <attrdomv>
          <edom>
            <edomv>NULL</edomv>
            <edomvd>No Data</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <udom>A string of numeric values.</udom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>measure</attrlabl>
        <attrdef>Measure along the reach, in percent from downstream end, where a point event is located (USGS, 2024).</attrdef>
        <attrdefs>NHD</attrdefs>
        <attrdomv>
          <rdom>
            <rdommin>0.0</rdommin>
            <rdommax>100.0</rdommax>
          </rdom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>comid</attrlabl>
        <attrdef>A unique identifier for a waterbody through which a flowline flows. It is used to identify the waterbody that contains a specific flowline feature. ComIDs are important for understanding the flow direction and flow relationships within the NHD.</attrdef>
        <attrdefs>NHD</attrdefs>
        <attrdomv>
          <edom>
            <edomv>NULL</edomv>
            <edomvd>No Data</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <rdom>
            <rdommin>3109</rdommin>
            <rdommax>948100400</rdommax>
          </rdom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>huc_cd</attrlabl>
        <attrdef>Eight-digit hydrologic unit code (HUC) the station is located in.</attrdef>
        <attrdefs>NHD</attrdefs>
        <attrdomv>
          <edom>
            <edomv>NULL</edomv>
            <edomvd>No Data</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <udom>A string of numeric values.</udom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>state_cd</attrlabl>
        <attrdef>State code (numeric), as defined in NWIS.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <rdom>
            <rdommin>0</rdommin>
            <rdommax>56</rdommax>
          </rdom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>state</attrlabl>
        <attrdef>Two-letter state abbreviation.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <udom>Two-letter state abbreviation.</udom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>dec_lat_va</attrlabl>
        <attrdef>Decimal latitude from NWIS.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <rdom>
            <rdommin>19.71213889</rdommin>
            <rdommax>70.2813799</rdommax>
          </rdom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>dec_long_va</attrlabl>
        <attrdef>Decimal longitude from NWIS.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <rdom>
            <rdommin>-165.5099745</rdommin>
            <rdommax>-67.3180556</rdommax>
          </rdom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>coord_datum_cd</attrlabl>
        <attrdef>Latitude/longitude (horizontal) coordinate datum from NWIS.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <edom>
            <edomv>NULL</edomv>
            <edomvd>No Data</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>NAD83</edomv>
            <edomvd>North American Datum of 1983</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>NAD27</edomv>
            <edomvd>North American Datum of 1927</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>coord_meth_cd</attrlabl>
        <attrdef>Indicates the method used to determine latitude and longitude coordinates from NWIS.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <edom>
            <edomv>NULL</edomv>
            <edomvd>No Data</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>X</edomv>
            <edomvd>GNSS2 - Level 2 Quality Survey Grade Global Navigation Satellite System.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>M</edomv>
            <edomvd>Interpolated from MAP.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>N</edomv>
            <edomvd>Interpolated from Digital MAP.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>Y</edomv>
            <edomvd>GNSS3 - Level 3 Quality Survey Grade Global Navigation Satellite System.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>G</edomv>
            <edomvd>Mapping grade GPS unit (handheld accuracy range 12 to 40 ft).</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>D</edomv>
            <edomvd>Differentially corrected Global Positioning System.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>F</edomv>
            <edomvd>Survey-grade GPSF.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>U</edomv>
            <edomvd>Unknown.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>S</edomv>
            <edomvd>Transit, theodolite, or other surveying method.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>R</edomv>
            <edomvd>Reported.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>L</edomv>
            <edomvd>Long range navigation system.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>W</edomv>
            <edomvd>GNSS1 - Level 1 Quality Survey Grade Global Navigation Satellite System.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>C</edomv>
            <edomvd>Calculated from land net.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>coord_acy_cd</attrlabl>
        <attrdef>Code for decimal coordinate accuracy from NWIS.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <edom>
            <edomv>F</edomv>
            <edomvd>Accurate to + or - 5 sec.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>M</edomv>
            <edomvd>Accurate to + or - 1 min.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>S</edomv>
            <edomvd>Accurate to + or - 1 sec.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>1</edomv>
            <edomvd>Accurate to + or - .1 sec (Differentially-Corrected GPS).</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>U</edomv>
            <edomvd>Unknown or unspecified.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>T</edomv>
            <edomvd>Accurate to + or - 10 sec.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>H</edomv>
            <edomvd>Accurate to + or - .01 sec (Differentially-Corrected GPS).</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>5</edomv>
            <edomvd>Accurate to + or - .5 sec (PLGR/PPS GPS).</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>C</edomv>
            <edomvd>Level 2 survey-grade GPS.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>R</edomv>
            <edomvd>Accurate to + or - 3 sec (SPS GPS).</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>D</edomv>
            <edomvd>Level 3 survey-grade GPS.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>B</edomv>
            <edomvd>Level 1 survey-grade GPS.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>alt_va</attrlabl>
        <attrdef>Altitude of Gage/land surface from NWIS.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <edom>
            <edomv>NULL</edomv>
            <edomvd>No Data</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <rdom>
            <rdommin>-32808.0</rdommin>
            <rdommax>10986.0</rdommax>
          </rdom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>alt_datum_cd</attrlabl>
        <attrdef>Datum for altitude from NWIS.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <edom>
            <edomv>NULL</edomv>
            <edomvd>No Data</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>NAVD88</edomv>
            <edomvd>North American Vertical Datum of 1988.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>NGVD29</edomv>
            <edomvd>National Geodetic Vertical Datum of 1929.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>LMSL</edomv>
            <edomvd>Local Mean Sea Level.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>alt_meth_cd</attrlabl>
        <attrdef>Method used to determine altitude from NWIS.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <edom>
            <edomv>NULL</edomv>
            <edomvd>No Data</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>X</edomv>
            <edomvd>GNSS2 - Level 2 Quality Survey Grade Global Navigation Satellite System.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>L</edomv>
            <edomvd>Level or other surveyed method.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>Y</edomv>
            <edomvd>GNSS3 - Level 3 Quality Survey Grade Global Navigation Satellite System.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>Z</edomv>
            <edomvd>GNSS4 - Level 4 Quality Survey Grade Global Navigation Satellite System.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>M</edomv>
            <edomvd>Interpolated from topographic map.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>N</edomv>
            <edomvd>Interpolated from Digital Elevation Model.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>G</edomv>
            <edomvd>Definition unavailable (see https://help.waterdata.usgs.gov/code/alt_meth_cd_query?fmt=html).</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>D</edomv>
            <edomvd>Differentially corrected Global Positioning System.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>F</edomv>
            <edomvd>Survey-grade GPSF.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>W</edomv>
            <edomvd>GNSS1 - Level 1 Quality Survey Grade Global Navigation Satellite System.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>U</edomv>
            <edomvd>Definition unavailable (see https://help.waterdata.usgs.gov/code/alt_meth_cd_query?fmt=html).</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>R</edomv>
            <edomvd>Reported method of determination.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>J</edomv>
            <edomvd>Light Detection And Ranging, airplane.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <edom>
            <edomv>A</edomv>
            <edomvd>Altimeter.</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>alt_acy_va</attrlabl>
        <attrdef>Accuracy of altitude in feet from NWIS.</attrdef>
        <attrdefs>NWIS</attrdefs>
        <attrdomv>
          <edom>
            <edomv>NULL</edomv>
            <edomvd>No Data</edomvd>
            <edomvds>Producer defined</edomvds>
          </edom>
        </attrdomv>
        <attrdomv>
          <rdom>
            <rdommin>0.0</rdommin>
            <rdommax>700.0</rdommax>
          </rdom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>wkb</attrlabl>
        <attrdef>Well-Known Binary (WKB) string representation of each station location. Necessary for efficiently reading in the GeoPackage programatically (see 'help_fxs.py' and 'help_fxs.R' within 'demo.zip' to see recommended reading algorithms.).</attrdef>
        <attrdefs>Producer Defined</attrdefs>
        <attrdomv>
          <udom>Well-Known Binary (WKB) string.</udom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>geom</attrlabl>
        <attrdef>Required GeoPackage geometry column representing the station location. In addition to the same coordinate values stored in the attributes 'dec_lat_va' and 'dec_long_va', the geometry BLOB header encodes a spatial reference identifier, which ties to the CRS definition in the GeoPackage. This allows GeoPackage drivers to correctly interpret station point geometries in a spatial context.</attrdef>
        <attrdefs>OGC</attrdefs>
        <attrdomv>
          <udom>GeoPackage binary</udom>
        </attrdomv>
      </attr>
    </detailed>
    <detailed>
      <enttyp>
        <enttypl>NXSDB_WY2023_CONUS_station_master.txt</enttypl>
        <enttypd>Tab-delimited text file containing station IDs used to query Aquarius for cross-section data in water year 2023. Generated using USGS Water Services (https://waterservices.usgs.gov/).</enttypd>
        <enttypds>Producer Defined</enttypds>
      </enttyp>
      <attr>
        <attrlabl>station</attrlabl>
        <attrdef>Unique identifier for the station.</attrdef>
        <attrdefs>Producer Defined</attrdefs>
        <attrdomv>
          <udom>Numeric station numbers.</udom>
        </attrdomv>
      </attr>
      <attr>
        <attrlabl>station_nm</attrlabl>
        <attrdef>Name of the station.</attrdef>
        <attrdefs>Producer Defined</attrdefs>
        <attrdomv>
          <udom>Alphanumeric station names.</udom>
        </attrdomv>
      </attr>
    </detailed>
    <detailed>
      <enttyp>
        <enttypl>README_Documentation.html</enttypl>
        <enttypd>Contains general background information about the cross-section table and a schema description of the 'NXSDB_WY2023_CONUS.gpkg' GeoPackage schema description.</enttypd>
        <enttypds>Producer Defined</enttypds>
      </enttyp>
    </detailed>
    <detailed>
      <enttyp>
        <enttypl>demo.zip</enttypl>
        <enttypd>A zip archive that contains R and Python notebooks intended to show users how to programatically access and query the 'NXSDB_WY2023_CONUS.gpkg' GeoPackage dataset.</enttypd>
        <enttypds>Producer Defined</enttypds>
      </enttyp>
    </detailed>
    <detailed>
      <enttyp>
        <enttypl>change_log.txt</enttypl>
        <enttypd>Text file containing versioning information relevant to updates reflected in the GeoPackage and or documentation.</enttypd>
        <enttypds>Producer Defined</enttypds>
      </enttyp>
    </detailed>
    <detailed>
      <enttyp>
        <enttypl>NXSDB_schema_v1.2.0.json</enttypl>
        <enttypd>Schema file in JSON format used to validate the final GeoPackage file NXSDB_WY2023_CONUS.gpkg.</enttypd>
        <enttypds>Producer Defined</enttypds>
      </enttyp>
    </detailed>
    <detailed>
      <enttyp>
        <enttypl>NXSDB_WY2023_CONUS_v1.1.0_PROVISIONAL.zip</enttypl>
        <enttypd>A ZIP archive of the initial [provisional] NXSDB release (v1.1.0, August 2025) conformant with the JSON schema NXSDB_schema_v1.1.0.json. This deprecated version was archived to allow users to access thi previous iteration for reference or reproducibility. A detailed record of all changes is included in the accompanying change_log.txt.</enttypd>
        <enttypds>Producer Defined</enttypds>
      </enttyp>
    </detailed>
    <detailed>
      <enttyp>
        <enttypl>NXSDB_WY2023_CONUS_v1.2.0_APPROVED.zip</enttypl>
        <enttypd>A ZIP archive of the approved NXSDB release (v1.2.0, September 2025)  conformant with the JSON schema NXSDB_schema_v1.2.0.json. This stable version is the primary downloadable GeoPackage, while the earlier version remains archived as a ZIP file named after its schema version, allowing users to access previous iterations for reference or reproducibility. A detailed record of all changes is included in the accompanying change_log.txt.</enttypd>
        <enttypds>Producer Defined</enttypds>
      </enttyp>
    </detailed>
  </eainfo>
  <distinfo>
    <distrib>
      <cntinfo>
        <cntperp>
          <cntper>GS ScienceBase</cntper>
          <cntorg>U.S. Geological Survey</cntorg>
        </cntperp>
        <cntaddr>
          <addrtype>mailing address</addrtype>
          <address>Denver Federal Center, Building 810, Mail Stop 302</address>
          <city>Denver</city>
          <state>CO</state>
          <postal>80225</postal>
          <country>United States</country>
        </cntaddr>
        <cntvoice>1-888-275-8747</cntvoice>
        <cntemail>sciencebase@usgs.gov</cntemail>
      </cntinfo>
    </distrib>
    <distliab>Unless otherwise stated, all data, metadata and related materials are considered to satisfy the quality standards relative to the purpose for which the data were collected. Although these data and associated metadata have been reviewed for accuracy and completeness and approved for release by the U.S. Geological Survey (USGS), no warranty expressed or implied is made regarding the display or utility of the data on any other system or for general or scientific purposes, nor shall the act of distribution constitute any such warranty.</distliab>
    <stdorder>
      <digform>
        <digtinfo>
          <formname>Digital Data</formname>
        </digtinfo>
        <digtopt>
          <onlinopt>
            <computer>
              <networka>
                <networkr>https://doi.org/10.5066/P13PPXKN</networkr>
              </networka>
            </computer>
          </onlinopt>
        </digtopt>
      </digform>
      <fees>None</fees>
    </stdorder>
  </distinfo>
  <metainfo>
    <metd>20260116</metd>
    <metc>
      <cntinfo>
        <cntperp>
          <cntper>Travis M. Knight</cntper>
          <cntorg>U.S. Geological Survey, Water Resources Mission Area</cntorg>
        </cntperp>
        <cntpos>Hydrologist</cntpos>
        <cntaddr>
          <addrtype>mailing address</addrtype>
          <address>Suite 704</address>
          <city>Arden</city>
          <state>NC</state>
          <postal>28704</postal>
          <country>US</country>
        </cntaddr>
        <cntvoice>239-579-6068</cntvoice>
        <cntemail>tknight@usgs.gov</cntemail>
      </cntinfo>
    </metc>
    <metstdn>FGDC Content Standard for Digital Geospatial Metadata</metstdn>
    <metstdv>FGDC-STD-001-1998</metstdv>
  </metainfo>
</metadata>
