[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XE7T3GG6W3RHTB5KVQCYGH":3,"skill-same:01M6XE7T3GG6W3RHTB5KVQCYGH":56},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":13,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M6XE7T3GG6W3RHTB5KVQCYGH","flood-detection",null,"Detect flood events by comparing water levels to thresholds. Use when determining if flooding occurred, counting flood days, aggregating instantaneous data to daily values, or classifying flood severity.","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\u002Fflood-risk-analysis\u002Fenvironment\u002Fskills\u002Fflood-detection\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29],"detection","flood detection","data","severity","use","daily","thresholds","events","counting","detect","values","when","2026-11-10 10:12:30",false,"---\nname: flood-detection\ndescription: Detect flood events by comparing water levels to thresholds. Use when determining if flooding occurred, counting flood days, aggregating instantaneous data to daily values, or classifying flood severity.\nlicense: MIT\n---\n\n# Flood Detection Guide\n\n## Overview\n\nFlood detection involves comparing observed water levels against established flood stage thresholds. This guide covers how to process water level data and identify flood events.\n\n## Flood Stage Definition\n\nAccording to the National Weather Service, flood stage is the water level at which overflow of the natural banks begins to cause damage. A flood event occurs when:\n```\nwater_level >= flood_stage_threshold\n```\n\n## Aggregating Instantaneous Data to Daily\n\nUSGS instantaneous data is recorded at ~15-minute intervals. For flood detection, aggregate to daily maximum:\n```python\n# df is DataFrame from nwis.get_iv() with datetime index\n# gage_col is the column name containing water levels\n\ndaily_max = df[gage_col].resample('D').max()\n```\n\n### Why Daily Maximum?\n\n| Aggregation | Use Case |\n|-------------|----------|\n| `max()` | Flood detection - captures peak water level |\n| `mean()` | Long-term trends - may miss short flood peaks |\n| `min()` | Low flow analysis |\n\n## Detecting Flood Days\n\nCompare daily maximum water level against flood threshold:\n```python\nflood_threshold = \u003Cthreshold_from_nws>  # feet\n\n# Count days with flooding\nflood_days = (daily_max >= flood_threshold).sum()\n\n# Get specific dates with flooding\nflood_dates = daily_max[daily_max >= flood_threshold].index.tolist()\n```\n\n## Processing Multiple Stations\n```python\nflood_results = []\n\nfor site_id, site_data in all_data.items():\n    daily_max = site_data['water_levels'].resample('D').max()\n    threshold = thresholds[site_id]['flood']\n\n    days_above = int((daily_max >= threshold).sum())\n\n    if days_above > 0:\n        flood_results.append({\n            'station_id': site_id,\n            'flood_days': days_above\n        })\n\n# Sort by flood days descending\nflood_results.sort(key=lambda x: x['flood_days'], reverse=True)\n```\n\n## Flood Severity Classification\n\nIf multiple threshold levels are available:\n```python\ndef classify_flood(water_level, thresholds):\n    if water_level >= thresholds['major']:\n        return 'major'\n    elif water_level >= thresholds['moderate']:\n        return 'moderate'\n    elif water_level >= thresholds['flood']:\n        return 'minor'\n    elif water_level >= thresholds['action']:\n        return 'action'\n    else:\n        return 'normal'\n```\n\n## Output Format Examples\n\n### Simple CSV Output\n```python\nimport csv\n\nwith open('flood_results.csv', 'w', newline='') as f:\n    writer = csv.writer(f)\n    writer.writerow(['station_id', 'flood_days'])\n    for result in flood_results:\n        writer.writerow([result['station_id'], result['flood_days']])\n```\n\n### JSON Output\n```python\nimport json\n\noutput = {\n    'flood_events': flood_results,\n    'total_stations_with_flooding': len(flood_results)\n}\n\nwith open('flood_report.json', 'w') as f:\n    json.dump(output, f, indent=2)\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| No floods detected | Threshold too high or dry period | Verify threshold values |\n| All days show flooding | Threshold too low or data error | Check threshold units (feet vs meters) |\n| NaN in daily_max | Missing data for entire day | Check data availability |\n\n## Best Practices\n\n- Use daily maximum for flood detection to capture peaks\n- Ensure water level and threshold use same units (typically feet)\n- Only report stations with at least 1 flood day\n- Sort results by flood severity or duration for prioritization\n","# Flood Detection Guide\n\n## Overview\n\nFlood detection involves comparing observed water levels against established flood stage thresholds. This guide covers how to process water level data and identify flood events.\n\n## Flood Stage Definition\n\nAccording to the National Weather Service, flood stage is the water level at which overflow of the natural banks begins to cause damage. A flood event occurs when:\n```\nwater_level >= flood_stage_threshold\n```\n\n## Aggregating Instantaneous Data to Daily\n\nUSGS instantaneous data is recorded at ~15-minute intervals. For flood detection, aggregate to daily maximum:\n```python\n# df is DataFrame from nwis.get_iv() with datetime index\n# gage_col is the column name containing water levels\n\ndaily_max = df[gage_col].resample('D').max()\n```\n\n### Why Daily Maximum?\n\n| Aggregation | Use Case |\n|-------------|----------|\n| `max()` | Flood detection - captures peak water level |\n| `mean()` | Long-term trends - may miss short flood peaks |\n| `min()` | Low flow analysis |\n\n## Detecting Flood Days\n\nCompare daily maximum water level against flood threshold:\n```python\nflood_threshold = \u003Cthreshold_from_nws>  # feet\n\n# Count days with flooding\nflood_days = (daily_max >= flood_threshold).sum()\n\n# Get specific dates with flooding\nflood_dates = daily_max[daily_max >= flood_threshold].index.tolist()\n```\n\n## Processing Multiple Stations\n```python\nflood_results = []\n\nfor site_id, site_data in all_data.items():\n    daily_max = site_data['water_levels'].resample('D').max()\n    threshold = thresholds[site_id]['flood']\n\n    days_above = int((daily_max >= threshold).sum())\n\n    if days_above > 0:\n        flood_results.append({\n            'station_id': site_id,\n            'flood_days': days_above\n        })\n\n# Sort by flood days descending\nflood_results.sort(key=lambda x: x['flood_days'], reverse=True)\n```\n\n## Flood Severity Classification\n\nIf multiple threshold levels are available:\n```python\ndef classify_flood(water_level, thresholds):\n    if water_level >= thresholds['major']:\n        return 'major'\n    elif water_level >= thresholds['moderate']:\n        return 'moderate'\n    elif water_level >= thresholds['flood']:\n        return 'minor'\n    elif water_level >= thresholds['action']:\n        return 'action'\n    else:\n        return 'normal'\n```\n\n## Output Format Examples\n\n### Simple CSV Output\n```python\nimport csv\n\nwith open('flood_results.csv', 'w', newline='') as f:\n    writer = csv.writer(f)\n    writer.writerow(['station_id', 'flood_days'])\n    for result in flood_results:\n        writer.writerow([result['station_id'], result['flood_days']])\n```\n\n### JSON Output\n```python\nimport json\n\noutput = {\n    'flood_events': flood_results,\n    'total_stations_with_flooding': len(flood_results)\n}\n\nwith open('flood_report.json', 'w') as f:\n    json.dump(output, f, indent=2)\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| No floods detected | Threshold too high or dry period | Verify threshold values |\n| All days show flooding | Threshold too low or data error | Check threshold units (feet vs meters) |\n| NaN in daily_max | Missing data for entire day | Check data availability |\n\n## Best Practices\n\n- Use daily maximum for flood detection to capture peaks\n- Ensure water level and threshold use same units (typically feet)\n- Only report stations with at least 1 flood day\n- Sort results by flood severity or duration for prioritization\n",{"name":5,"license":14,"description":7},"main","7eeb258ada72b7f58119b0e7a2c00ea89d9beedd","tasks\u002Fflood-risk-analysis\u002Fenvironment\u002Fskills\u002Fflood-detection","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":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add Waaaalnut\u002Fskillsbench --skill flood-detection",{"tool":48,"command":49},"bunx","bunx skills add Waaaalnut\u002Fskillsbench --skill flood-detection",{"tool":51,"command":52},"pnpm","pnpm dlx skills add Waaaalnut\u002Fskillsbench --skill flood-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fflood-risk-analysis\u002Fenvironment\u002Fskills\u002Fflood-detection\u002FSKILL.md",true,[],[57,71,86,112,133,151],{"skillNo":58,"name":59,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":68,"publishedAt":30},"01M6XEWMJ6VY3ZC53MPDCPG3GH","data-reconciliation","Apache-2.0","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fxlsx-recover-data\u002Fenvironment\u002Fskills\u002Fdata-reconciliation\u002FSKILL.md",[63],{"categoryNo":64,"categoryName":65,"taxonomyType":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[69,70,20],"data reconciliation","reconciliation",{"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":60,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":30},"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":60,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":97,"publishedAt":30},"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,29,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":60,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":119,"publishedAt":30},"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,29,107,124,125,126,127,27,104,128,129,84,130,131,132,22],"detector","silence detector","title","slides","time","energy","at","recordings","find","Audio","analysis","start","setup",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":60,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":30},"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,140,84,18,141,142,143,144,29,145,146,104,107,147,148,22,149,150],"segment combiner","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":60,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":160,"publishedAt":30},"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":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000034","行政与办公人员",[161,162,163,108,29,144,107,164,147,165,166,167,22,143,168,84,169,170,101],"generator","report generator","report","with","statistics","structured","reports","json","compression","generate"]