[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XD71AV9HPV3C744VZFW26Z":3,"skill-same:01M6XD71AV9HPV3C744VZFW26Z":55},{"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":17,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":13,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M6XD71AV9HPV3C744VZFW26Z","nws-flood-thresholds",null,"Download flood stage thresholds from NWS (National Weather Service). Use when determining flood levels for USGS stations, accessing action\u002Fminor\u002Fmoderate\u002Fmajor flood stages, or matching stations to their flood thresholds.","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\u002Fnws-flood-thresholds\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28],"thresholds","nws flood thresholds","weather","download","use","stage","matching","service","action","for","when","2026-11-10 10:12:30",false,"---\nname: nws-flood-thresholds\ndescription: Download flood stage thresholds from NWS (National Weather Service). Use when determining flood levels for USGS stations, accessing action\u002Fminor\u002Fmoderate\u002Fmajor flood stages, or matching stations to their flood thresholds.\nlicense: MIT\n---\n\n# NWS Flood Thresholds Guide\n\n## Overview\n\nThe National Weather Service (NWS) maintains flood stage thresholds for thousands of stream gages across the United States. These thresholds define when water levels become hazardous.\n\n## Data Sources\n\n### Option 1: Bulk CSV Download (Recommended for Multiple Stations)\n```\nhttps:\u002F\u002Fwater.noaa.gov\u002Fresources\u002Fdownloads\u002Freports\u002Fnwps_all_gauges_report.csv\n```\n\n### Option 2: Individual Station Pages\n```\nhttps:\u002F\u002Fwater.noaa.gov\u002Fgauges\u002F\u003Cstation_id>\n```\n\nExample: `https:\u002F\u002Fwater.noaa.gov\u002Fgauges\u002F04118105`\n\n## Flood Stage Categories\n\n| Category | CSV Column | Description |\n|----------|------------|-------------|\n| Action Stage | `action stage` | Water level requiring monitoring, preparation may be needed |\n| **Flood Stage (Minor)** | **`flood stage`** | **Minimal property damage, some public threat. Use this to determine if flooding occurred.** |\n| Moderate Flood Stage | `moderate flood stage` | Structure inundation, evacuations may be needed |\n| Major Flood Stage | `major flood stage` | Extensive damage, significant evacuations required |\n\nFor general flood detection, use the `flood stage` column as the threshold.\n\n## Downloading Bulk CSV\n```python\nimport pandas as pd\nimport csv\nimport urllib.request\nimport io\n\nnws_url = \"https:\u002F\u002Fwater.noaa.gov\u002Fresources\u002Fdownloads\u002Freports\u002Fnwps_all_gauges_report.csv\"\n\nresponse = urllib.request.urlopen(nws_url)\ncontent = response.read().decode('utf-8')\nreader = csv.reader(io.StringIO(content))\nheaders = next(reader)\ndata = [row[:43] for row in reader]  # Truncate to 43 columns\nnws_df = pd.DataFrame(data, columns=headers)\n```\n\n## Important: CSV Column Mismatch\n\nThe NWS CSV has a known issue: header row has 43 columns but data rows have 44 columns. Always truncate data rows to match header count:\n```python\ndata = [row[:43] for row in reader]\n```\n\n## Key Columns\n\n| Column Name | Description |\n|-------------|-------------|\n| `usgs id` | USGS station ID (8-digit string) |\n| `location name` | Station name\u002Flocation |\n| `state` | Two-letter state code |\n| `action stage` | Action threshold (feet) |\n| `flood stage` | Minor flood threshold (feet) |\n| `moderate flood stage` | Moderate flood threshold (feet) |\n| `major flood stage` | Major flood threshold (feet) |\n\n## Converting to Numeric\n\nThreshold columns need conversion from strings:\n```python\nnws_df['flood stage'] = pd.to_numeric(nws_df['flood stage'], errors='coerce')\n```\n\n## Filtering by State\n```python\n# Get stations for a specific state\nstate_stations = nws_df[\n    (nws_df['state'] == '\u003CSTATE_CODE>') &\n    (nws_df['usgs id'].notna()) &\n    (nws_df['usgs id'] != '') &\n    (nws_df['flood stage'].notna()) &\n    (nws_df['flood stage'] != -9999)\n]\n```\n\n## Matching Thresholds to Station IDs\n```python\n# Build a dictionary of station thresholds\nstation_ids = ['\u003Cid_1>', '\u003Cid_2>', '\u003Cid_3>']\nthresholds = {}\n\nfor _, row in nws_df.iterrows():\n    usgs_id = str(row['usgs id']).strip()\n    if usgs_id in station_ids:\n        thresholds[usgs_id] = {\n            'name': row['location name'],\n            'flood': row['flood stage']\n        }\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Column mismatch error | CSV has 44 data columns but 43 headers | Truncate rows to 43 columns |\n| Missing thresholds | Station not in NWS database | Skip station or use alternative source |\n| Value is -9999 | No threshold defined | Filter out these values |\n| Empty usgs id | NWS-only station | Filter by `usgs id != ''` |\n\n## Best Practices\n\n- Always truncate CSV rows to match header count\n- Convert threshold columns to numeric before comparison\n- Filter out -9999 values (indicates no threshold defined)\n- Match stations by USGS ID (8-digit string with leading zeros)\n- Some stations may have flood stage but not action\u002Fmoderate\u002Fmajor\n","# NWS Flood Thresholds Guide\n\n## Overview\n\nThe National Weather Service (NWS) maintains flood stage thresholds for thousands of stream gages across the United States. These thresholds define when water levels become hazardous.\n\n## Data Sources\n\n### Option 1: Bulk CSV Download (Recommended for Multiple Stations)\n```\nhttps:\u002F\u002Fwater.noaa.gov\u002Fresources\u002Fdownloads\u002Freports\u002Fnwps_all_gauges_report.csv\n```\n\n### Option 2: Individual Station Pages\n```\nhttps:\u002F\u002Fwater.noaa.gov\u002Fgauges\u002F\u003Cstation_id>\n```\n\nExample: `https:\u002F\u002Fwater.noaa.gov\u002Fgauges\u002F04118105`\n\n## Flood Stage Categories\n\n| Category | CSV Column | Description |\n|----------|------------|-------------|\n| Action Stage | `action stage` | Water level requiring monitoring, preparation may be needed |\n| **Flood Stage (Minor)** | **`flood stage`** | **Minimal property damage, some public threat. Use this to determine if flooding occurred.** |\n| Moderate Flood Stage | `moderate flood stage` | Structure inundation, evacuations may be needed |\n| Major Flood Stage | `major flood stage` | Extensive damage, significant evacuations required |\n\nFor general flood detection, use the `flood stage` column as the threshold.\n\n## Downloading Bulk CSV\n```python\nimport pandas as pd\nimport csv\nimport urllib.request\nimport io\n\nnws_url = \"https:\u002F\u002Fwater.noaa.gov\u002Fresources\u002Fdownloads\u002Freports\u002Fnwps_all_gauges_report.csv\"\n\nresponse = urllib.request.urlopen(nws_url)\ncontent = response.read().decode('utf-8')\nreader = csv.reader(io.StringIO(content))\nheaders = next(reader)\ndata = [row[:43] for row in reader]  # Truncate to 43 columns\nnws_df = pd.DataFrame(data, columns=headers)\n```\n\n## Important: CSV Column Mismatch\n\nThe NWS CSV has a known issue: header row has 43 columns but data rows have 44 columns. Always truncate data rows to match header count:\n```python\ndata = [row[:43] for row in reader]\n```\n\n## Key Columns\n\n| Column Name | Description |\n|-------------|-------------|\n| `usgs id` | USGS station ID (8-digit string) |\n| `location name` | Station name\u002Flocation |\n| `state` | Two-letter state code |\n| `action stage` | Action threshold (feet) |\n| `flood stage` | Minor flood threshold (feet) |\n| `moderate flood stage` | Moderate flood threshold (feet) |\n| `major flood stage` | Major flood threshold (feet) |\n\n## Converting to Numeric\n\nThreshold columns need conversion from strings:\n```python\nnws_df['flood stage'] = pd.to_numeric(nws_df['flood stage'], errors='coerce')\n```\n\n## Filtering by State\n```python\n# Get stations for a specific state\nstate_stations = nws_df[\n    (nws_df['state'] == '\u003CSTATE_CODE>') &\n    (nws_df['usgs id'].notna()) &\n    (nws_df['usgs id'] != '') &\n    (nws_df['flood stage'].notna()) &\n    (nws_df['flood stage'] != -9999)\n]\n```\n\n## Matching Thresholds to Station IDs\n```python\n# Build a dictionary of station thresholds\nstation_ids = ['\u003Cid_1>', '\u003Cid_2>', '\u003Cid_3>']\nthresholds = {}\n\nfor _, row in nws_df.iterrows():\n    usgs_id = str(row['usgs id']).strip()\n    if usgs_id in station_ids:\n        thresholds[usgs_id] = {\n            'name': row['location name'],\n            'flood': row['flood stage']\n        }\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Column mismatch error | CSV has 44 data columns but 43 headers | Truncate rows to 43 columns |\n| Missing thresholds | Station not in NWS database | Skip station or use alternative source |\n| Value is -9999 | No threshold defined | Filter out these values |\n| Empty usgs id | NWS-only station | Filter by `usgs id != ''` |\n\n## Best Practices\n\n- Always truncate CSV rows to match header count\n- Convert threshold columns to numeric before comparison\n- Filter out -9999 values (indicates no threshold defined)\n- Match stations by USGS ID (8-digit string with leading zeros)\n- Some stations may have flood stage but not action\u002Fmoderate\u002Fmajor\n",{"name":5,"license":14,"description":7},"main","7eeb258ada72b7f58119b0e7a2c00ea89d9beedd","tasks-no-skills\u002Fflood-risk-analysis\u002Fenvironment\u002Fskills\u002Fnws-flood-thresholds","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":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add Waaaalnut\u002Fskillsbench --skill nws-flood-thresholds",{"tool":47,"command":48},"bunx","bunx skills add Waaaalnut\u002Fskillsbench --skill nws-flood-thresholds",{"tool":50,"command":51},"pnpm","pnpm dlx skills add Waaaalnut\u002Fskillsbench --skill nws-flood-thresholds","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks-no-skills\u002Fflood-risk-analysis\u002Fenvironment\u002Fskills\u002Fnws-flood-thresholds\u002FSKILL.md",true,[],[56,71,86,112,134,152],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":67,"publishedAt":29},"01M6XEWMJ6VY3ZC53MPDCPG3GH","data-reconciliation","Apache-2.0","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fxlsx-recover-data\u002Fenvironment\u002Fskills\u002Fdata-reconciliation\u002FSKILL.md",[62],{"categoryNo":63,"categoryName":64,"taxonomyType":65,"taxonomyTypeDesc":66},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[68,69,70],"data reconciliation","reconciliation","data",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":29},"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",[],[78,79,80,81,82,83,84,85],"speech","text","speech to text","transcribe video","whisper","model","Video","transcribe",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":97,"publishedAt":29},"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",[92],{"categoryNo":93,"categoryName":94,"taxonomyType":95,"taxonomyTypeDesc":96},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",[84,98,99,100,101,102,28,103,104,105,106,107,108,109,110,22,111],"processor","video processor","batch","create","reels","parts","segments","process","videos","you","segment","filter","ffmpeg","remove",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":119,"publishedAt":29},"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",[118],{"categoryNo":93,"categoryName":94,"taxonomyType":95,"taxonomyTypeDesc":96},[120,121,122,123,28,107,124,125,126,127,128,104,129,130,84,131,132,133,22],"detector","silence detector","title","slides","time","energy","at","recordings","detect","find","Audio","analysis","start","setup",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":29},"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",[],[108,141,84,142,143,144,145,27,28,146,147,104,107,148,149,22,150,151],"segment combiner","detection","prepare","merge","video processing","outputs","combine","processing","consolidate","results","list",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":161,"publishedAt":29},"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",[158],{"categoryNo":159,"categoryName":160,"taxonomyType":65,"taxonomyTypeDesc":66},"01JBSEEDCAT000000000000034","行政与办公人员",[162,163,164,108,28,27,107,165,148,166,167,168,22,145,169,84,170,171,101],"generator","report generator","report","with","statistics","structured","reports","json","compression","generate"]