[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XD76ZV1VGXPMZ4KKGJD217":3,"skill-same:01M6XD76ZV1VGXPMZ4KKGJD217":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":13,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6XD76ZV1VGXPMZ4KKGJD217","usgs-data-download",null,"Download water level data from USGS using the dataretrieval package. Use when accessing real-time or historical streamflow data, downloading gage height or discharge measurements, or working with USGS station IDs.","Waaaalnut\u002Fskillsbench","Waaaalnut","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F103995656?v=4","01M6XCS9K1V51EY3JMB7DGMX24","01M6XCS9Q4WPW88W62C55G1H44",0,"MIT","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks-no-skills\u002Fflood-risk-analysis\u002Fenvironment\u002Fskills\u002Fusgs-data-download\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[23,24,25,26,27,28,29,30,31,32],"data","download","usgs data download","package","ids","real-time","use","time","with","when","2026-11-10 10:12:30",false,"---\nname: usgs-data-download\ndescription: Download water level data from USGS using the dataretrieval package. Use when accessing real-time or historical streamflow data, downloading gage height or discharge measurements, or working with USGS station IDs.\nlicense: MIT\n---\n\n# USGS Data Download Guide\n\n## Overview\n\nThis guide covers downloading water level data from USGS using the `dataretrieval` Python package. USGS maintains thousands of stream gages across the United States that record water levels at 15-minute intervals.\n\n## Installation\n```bash\npip install dataretrieval\n```\n\n## nwis Module (Recommended)\n\nThe NWIS module is reliable and straightforward for accessing gage height data.\n```python\nfrom dataretrieval import nwis\n\n# Get instantaneous values (15-min intervals)\ndf, meta = nwis.get_iv(\n    sites='\u003Cstation_id>',\n    start='\u003Cstart_date>',\n    end='\u003Cend_date>',\n    parameterCd='00065'\n)\n\n# Get daily values\ndf, meta = nwis.get_dv(\n    sites='\u003Cstation_id>',\n    start='\u003Cstart_date>',\n    end='\u003Cend_date>',\n    parameterCd='00060'\n)\n\n# Get site information\ninfo, meta = nwis.get_info(sites='\u003Cstation_id>')\n```\n\n## Parameter Codes\n\n| Code | Parameter | Unit | Description |\n|------|-----------|------|-------------|\n| `00065` | Gage height | feet | Water level above datum |\n| `00060` | Discharge | cfs | Streamflow volume |\n\n## nwis Module Functions\n\n| Function | Description | Data Frequency |\n|----------|-------------|----------------|\n| `nwis.get_iv()` | Instantaneous values | ~15 minutes |\n| `nwis.get_dv()` | Daily values | Daily |\n| `nwis.get_info()` | Site information | N\u002FA |\n| `nwis.get_stats()` | Statistical summaries | N\u002FA |\n| `nwis.get_peaks()` | Annual peak discharge | Annual |\n\n## Returned DataFrame Structure\n\nThe DataFrame has a datetime index and these columns:\n\n| Column | Description |\n|--------|-------------|\n| `site_no` | Station ID |\n| `00065` | Water level value |\n| `00065_cd` | Quality code (can ignore) |\n\n## Downloading Multiple Stations\n```python\nfrom dataretrieval import nwis\n\nstation_ids = ['\u003Cid_1>', '\u003Cid_2>', '\u003Cid_3>']\nall_data = {}\n\nfor site_id in station_ids:\n    try:\n        df, meta = nwis.get_iv(\n            sites=site_id,\n            start='\u003Cstart_date>',\n            end='\u003Cend_date>',\n            parameterCd='00065'\n        )\n        if len(df) > 0:\n            all_data[site_id] = df\n    except Exception as e:\n        print(f\"Failed to download {site_id}: {e}\")\n\nprint(f\"Successfully downloaded: {len(all_data)} stations\")\n```\n\n## Extracting the Value Column\n```python\n# Find the gage height column (excludes quality code column)\ngage_col = [c for c in df.columns if '00065' in str(c) and '_cd' not in str(c)]\n\nif gage_col:\n    water_levels = df[gage_col[0]]\n    print(water_levels.head())\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Empty DataFrame | Station has no data for date range | Try different dates or use `get_iv()` |\n| `get_dv()` returns empty | No daily gage height data | Use `get_iv()` and aggregate |\n| Connection error | Network issue | Wrap in try\u002Fexcept, retry |\n| Rate limited | Too many requests | Add delays between requests |\n\n## Best Practices\n\n- Always wrap API calls in try\u002Fexcept for failed downloads\n- Check `len(df) > 0` before processing\n- Station IDs are 8-digit strings with leading zeros (e.g., '04119000')\n- Use `get_iv()` for gage height, as daily data is often unavailable\n- Filter columns to exclude quality code columns (`_cd`)\n- Break up large requests into smaller time periods to avoid timeouts\n","# USGS Data Download Guide\n\n## Overview\n\nThis guide covers downloading water level data from USGS using the `dataretrieval` Python package. USGS maintains thousands of stream gages across the United States that record water levels at 15-minute intervals.\n\n## Installation\n```bash\npip install dataretrieval\n```\n\n## nwis Module (Recommended)\n\nThe NWIS module is reliable and straightforward for accessing gage height data.\n```python\nfrom dataretrieval import nwis\n\n# Get instantaneous values (15-min intervals)\ndf, meta = nwis.get_iv(\n    sites='\u003Cstation_id>',\n    start='\u003Cstart_date>',\n    end='\u003Cend_date>',\n    parameterCd='00065'\n)\n\n# Get daily values\ndf, meta = nwis.get_dv(\n    sites='\u003Cstation_id>',\n    start='\u003Cstart_date>',\n    end='\u003Cend_date>',\n    parameterCd='00060'\n)\n\n# Get site information\ninfo, meta = nwis.get_info(sites='\u003Cstation_id>')\n```\n\n## Parameter Codes\n\n| Code | Parameter | Unit | Description |\n|------|-----------|------|-------------|\n| `00065` | Gage height | feet | Water level above datum |\n| `00060` | Discharge | cfs | Streamflow volume |\n\n## nwis Module Functions\n\n| Function | Description | Data Frequency |\n|----------|-------------|----------------|\n| `nwis.get_iv()` | Instantaneous values | ~15 minutes |\n| `nwis.get_dv()` | Daily values | Daily |\n| `nwis.get_info()` | Site information | N\u002FA |\n| `nwis.get_stats()` | Statistical summaries | N\u002FA |\n| `nwis.get_peaks()` | Annual peak discharge | Annual |\n\n## Returned DataFrame Structure\n\nThe DataFrame has a datetime index and these columns:\n\n| Column | Description |\n|--------|-------------|\n| `site_no` | Station ID |\n| `00065` | Water level value |\n| `00065_cd` | Quality code (can ignore) |\n\n## Downloading Multiple Stations\n```python\nfrom dataretrieval import nwis\n\nstation_ids = ['\u003Cid_1>', '\u003Cid_2>', '\u003Cid_3>']\nall_data = {}\n\nfor site_id in station_ids:\n    try:\n        df, meta = nwis.get_iv(\n            sites=site_id,\n            start='\u003Cstart_date>',\n            end='\u003Cend_date>',\n            parameterCd='00065'\n        )\n        if len(df) > 0:\n            all_data[site_id] = df\n    except Exception as e:\n        print(f\"Failed to download {site_id}: {e}\")\n\nprint(f\"Successfully downloaded: {len(all_data)} stations\")\n```\n\n## Extracting the Value Column\n```python\n# Find the gage height column (excludes quality code column)\ngage_col = [c for c in df.columns if '00065' in str(c) and '_cd' not in str(c)]\n\nif gage_col:\n    water_levels = df[gage_col[0]]\n    print(water_levels.head())\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Empty DataFrame | Station has no data for date range | Try different dates or use `get_iv()` |\n| `get_dv()` returns empty | No daily gage height data | Use `get_iv()` and aggregate |\n| Connection error | Network issue | Wrap in try\u002Fexcept, retry |\n| Rate limited | Too many requests | Add delays between requests |\n\n## Best Practices\n\n- Always wrap API calls in try\u002Fexcept for failed downloads\n- Check `len(df) > 0` before processing\n- Station IDs are 8-digit strings with leading zeros (e.g., '04119000')\n- Use `get_iv()` for gage height, as daily data is often unavailable\n- Filter columns to exclude quality code columns (`_cd`)\n- Break up large requests into smaller time periods to avoid timeouts\n",{"name":5,"license":14,"description":7},"main","7eeb258ada72b7f58119b0e7a2c00ea89d9beedd","tasks-no-skills\u002Fflood-risk-analysis\u002Fenvironment\u002Fskills\u002Fusgs-data-download","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench","https:\u002F\u002Fgithub.com\u002FWaaaalnut","student of Zhejiang University","2026-04-21 23:16:23",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add Waaaalnut\u002Fskillsbench --skill usgs-data-download",{"tool":51,"command":52},"bunx","bunx skills add Waaaalnut\u002Fskillsbench --skill usgs-data-download",{"tool":54,"command":55},"pnpm","pnpm dlx skills add Waaaalnut\u002Fskillsbench --skill usgs-data-download","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks-no-skills\u002Fflood-risk-analysis\u002Fenvironment\u002Fskills\u002Fusgs-data-download\u002FSKILL.md",true,[],[60,70,85,111,132,151],{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":67,"publishedAt":33},"01M6XEWMJ6VY3ZC53MPDCPG3GH","data-reconciliation","Apache-2.0","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fxlsx-recover-data\u002Fenvironment\u002Fskills\u002Fdata-reconciliation\u002FSKILL.md",[66],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[68,69,23],"data reconciliation","reconciliation",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":33},"01M6XEW8MNPMF1KRXV6ATGFRQF","speech-to-text","Transcribe video to timestamped text using Whisper tiny model (pre-installed).","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-tutorial-indexer\u002Fenvironment\u002Fskills\u002Fspeech-to-text\u002FSKILL.md",[],[77,78,79,80,81,82,83,84],"speech","text","speech to text","transcribe video","whisper","model","Video","transcribe",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":96,"publishedAt":33},"01M6XEW3FQZP0T1RKQQJFXVY9T","video-processor","Process videos by removing segments and concatenating remaining parts. Use when you need to remove detected pauses\u002Fopenings from videos, create highlight reels, or batch process segment removals using ffmpeg filter_complex.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fvideo-processor\u002FSKILL.md",[91],{"categoryNo":92,"categoryName":93,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",[83,97,98,99,100,101,32,102,103,104,105,106,107,108,109,29,110],"processor","video processor","batch","create","reels","parts","segments","process","videos","you","segment","filter","ffmpeg","remove",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":118,"publishedAt":33},"01M6XEVXJ5KZ0NTY3XZKRY4AS1","silence-detector","Detect initial silence segments in audio\u002Fvideo using energy-based analysis. Use when you need to find low-energy periods at the start of recordings (title slides, setup time, pre-roll silence).","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fsilence-detector\u002FSKILL.md",[117],{"categoryNo":92,"categoryName":93,"taxonomyType":94,"taxonomyTypeDesc":95},[119,120,121,122,32,106,30,123,124,125,126,103,127,128,83,129,130,131,29],"detector","silence detector","title","slides","energy","at","recordings","detect","find","Audio","analysis","start","setup",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":33},"01M6XEVT3NGRN1FT7JPMAPXS6M","segment-combiner","Combine multiple segment detection results into a unified list. Use when you need to merge segments from different detectors, prepare removal lists for video processing, or consolidate detection outputs.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fsegment-combiner\u002FSKILL.md",[],[107,139,83,140,141,142,143,144,32,145,146,103,106,147,148,29,149,150],"segment combiner","detection","prepare","merge","video processing","for","outputs","combine","processing","consolidate","results","list",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":160,"publishedAt":33},"01M6XEVMPVASGS2KX86QK4FMT7","report-generator","Generate compression reports for video processing. Use when you need to create structured JSON reports with duration statistics, compression ratios, and segment details after video processing.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Freport-generator\u002FSKILL.md",[157],{"categoryNo":158,"categoryName":159,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000034","行政与办公人员",[161,162,163,107,32,144,106,31,147,164,165,166,29,143,167,83,168,169,100],"generator","report generator","report","statistics","structured","reports","json","compression","generate"]