[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XE8DPHN4BM651C038HX8VZ":3,"skill-same:01M6XE8DPHN4BM651C038HX8VZ":62},{"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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":13,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6XE8DPHN4BM651C038HX8VZ","glm-output",null,"Read and process GLM output files. Use when you need to extract temperature data from NetCDF output, convert depth coordinates, or calculate RMSE against observations.","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\u002Fglm-lake-mendota\u002Fenvironment\u002Fskills\u002Fglm-output\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"glm output","output","glm","when","data","depth","observations","netcdf","you","temperature","coordinates","files","use","process","extract","read","calculate","convert","2026-11-10 10:12:30",false,"---\nname: glm-output\ndescription: Read and process GLM output files. Use when you need to extract temperature data from NetCDF output, convert depth coordinates, or calculate RMSE against observations.\nlicense: MIT\n---\n\n# GLM Output Guide\n\n## Overview\n\nGLM produces NetCDF output containing simulated water temperature profiles. Processing this output requires understanding the coordinate system and matching with observations.\n\n## Output File\n\nAfter running GLM, results are in `output\u002Foutput.nc`:\n\n| Variable | Description | Shape |\n|----------|-------------|-------|\n| `time` | Hours since simulation start | (n_times,) |\n| `z` | Height from lake bottom (not depth!) | (n_times, n_layers, 1, 1) |\n| `temp` | Water temperature (°C) | (n_times, n_layers, 1, 1) |\n\n## Reading Output with Python\n```python\nfrom netCDF4 import Dataset\nimport numpy as np\nimport pandas as pd\nfrom datetime import datetime\n\nnc = Dataset('output\u002Foutput.nc', 'r')\ntime = nc.variables['time'][:]\nz = nc.variables['z'][:]\ntemp = nc.variables['temp'][:]\nnc.close()\n```\n\n## Coordinate Conversion\n\n**Important**: GLM `z` is height from lake bottom, not depth from surface.\n```python\n# Convert to depth from surface\n# Set LAKE_DEPTH based on lake_depth in &init_profiles section of glm3.nml\nLAKE_DEPTH = \u003Clake_depth_from_nml>\ndepth_from_surface = LAKE_DEPTH - z\n```\n\n## Complete Output Processing\n```python\nfrom netCDF4 import Dataset\nimport numpy as np\nimport pandas as pd\nfrom datetime import datetime\n\ndef read_glm_output(nc_path, lake_depth):\n    nc = Dataset(nc_path, 'r')\n    time = nc.variables['time'][:]\n    z = nc.variables['z'][:]\n    temp = nc.variables['temp'][:]\n    start_date = datetime(2009, 1, 1, 12, 0, 0)\n\n    records = []\n    for t_idx in range(len(time)):\n        hours = float(time[t_idx])\n        date = pd.Timestamp(start_date) + pd.Timedelta(hours=hours)\n        heights = z[t_idx, :, 0, 0]\n        temps = temp[t_idx, :, 0, 0]\n\n        for d_idx in range(len(heights)):\n            h_val = heights[d_idx]\n            t_val = temps[d_idx]\n            if not np.ma.is_masked(h_val) and not np.ma.is_masked(t_val):\n                depth = lake_depth - float(h_val)\n                if 0 \u003C= depth \u003C= lake_depth:\n                    records.append({\n                        'datetime': date,\n                        'depth': round(depth),\n                        'temp_sim': float(t_val)\n                    })\n    nc.close()\n\n    df = pd.DataFrame(records)\n    df = df.groupby(['datetime', 'depth']).agg({'temp_sim': 'mean'}).reset_index()\n    return df\n```\n\n## Reading Observations\n```python\ndef read_observations(obs_path):\n    df = pd.read_csv(obs_path)\n    df['datetime'] = pd.to_datetime(df['datetime'])\n    df['depth'] = df['depth'].round().astype(int)\n    df = df.rename(columns={'temp': 'temp_obs'})\n    return df[['datetime', 'depth', 'temp_obs']]\n```\n\n## Calculating RMSE\n```python\ndef calculate_rmse(sim_df, obs_df):\n    merged = pd.merge(obs_df, sim_df, on=['datetime', 'depth'], how='inner')\n    if len(merged) == 0:\n        return 999.0\n    rmse = np.sqrt(np.mean((merged['temp_sim'] - merged['temp_obs'])**2))\n    return rmse\n\n# Usage: get lake_depth from glm3.nml &init_profiles section\nsim_df = read_glm_output('output\u002Foutput.nc', lake_depth=25)\nobs_df = read_observations('field_temp_oxy.csv')\nrmse = calculate_rmse(sim_df, obs_df)\nprint(f\"RMSE: {rmse:.2f}C\")\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| RMSE very high | Wrong depth conversion | Use `lake_depth - z`, not `z` directly |\n| No matched observations | Datetime mismatch | Check datetime format consistency |\n| Empty merged dataframe | Depth rounding issues | Round depths to integers |\n\n## Best Practices\n\n- Check `lake_depth` in `&init_profiles` section of `glm3.nml`\n- Always convert z to depth from surface before comparing with observations\n- Round depths to integers for matching\n- Group by datetime and depth to handle duplicate records\n- Check number of matched observations after merge\n","# GLM Output Guide\n\n## Overview\n\nGLM produces NetCDF output containing simulated water temperature profiles. Processing this output requires understanding the coordinate system and matching with observations.\n\n## Output File\n\nAfter running GLM, results are in `output\u002Foutput.nc`:\n\n| Variable | Description | Shape |\n|----------|-------------|-------|\n| `time` | Hours since simulation start | (n_times,) |\n| `z` | Height from lake bottom (not depth!) | (n_times, n_layers, 1, 1) |\n| `temp` | Water temperature (°C) | (n_times, n_layers, 1, 1) |\n\n## Reading Output with Python\n```python\nfrom netCDF4 import Dataset\nimport numpy as np\nimport pandas as pd\nfrom datetime import datetime\n\nnc = Dataset('output\u002Foutput.nc', 'r')\ntime = nc.variables['time'][:]\nz = nc.variables['z'][:]\ntemp = nc.variables['temp'][:]\nnc.close()\n```\n\n## Coordinate Conversion\n\n**Important**: GLM `z` is height from lake bottom, not depth from surface.\n```python\n# Convert to depth from surface\n# Set LAKE_DEPTH based on lake_depth in &init_profiles section of glm3.nml\nLAKE_DEPTH = \u003Clake_depth_from_nml>\ndepth_from_surface = LAKE_DEPTH - z\n```\n\n## Complete Output Processing\n```python\nfrom netCDF4 import Dataset\nimport numpy as np\nimport pandas as pd\nfrom datetime import datetime\n\ndef read_glm_output(nc_path, lake_depth):\n    nc = Dataset(nc_path, 'r')\n    time = nc.variables['time'][:]\n    z = nc.variables['z'][:]\n    temp = nc.variables['temp'][:]\n    start_date = datetime(2009, 1, 1, 12, 0, 0)\n\n    records = []\n    for t_idx in range(len(time)):\n        hours = float(time[t_idx])\n        date = pd.Timestamp(start_date) + pd.Timedelta(hours=hours)\n        heights = z[t_idx, :, 0, 0]\n        temps = temp[t_idx, :, 0, 0]\n\n        for d_idx in range(len(heights)):\n            h_val = heights[d_idx]\n            t_val = temps[d_idx]\n            if not np.ma.is_masked(h_val) and not np.ma.is_masked(t_val):\n                depth = lake_depth - float(h_val)\n                if 0 \u003C= depth \u003C= lake_depth:\n                    records.append({\n                        'datetime': date,\n                        'depth': round(depth),\n                        'temp_sim': float(t_val)\n                    })\n    nc.close()\n\n    df = pd.DataFrame(records)\n    df = df.groupby(['datetime', 'depth']).agg({'temp_sim': 'mean'}).reset_index()\n    return df\n```\n\n## Reading Observations\n```python\ndef read_observations(obs_path):\n    df = pd.read_csv(obs_path)\n    df['datetime'] = pd.to_datetime(df['datetime'])\n    df['depth'] = df['depth'].round().astype(int)\n    df = df.rename(columns={'temp': 'temp_obs'})\n    return df[['datetime', 'depth', 'temp_obs']]\n```\n\n## Calculating RMSE\n```python\ndef calculate_rmse(sim_df, obs_df):\n    merged = pd.merge(obs_df, sim_df, on=['datetime', 'depth'], how='inner')\n    if len(merged) == 0:\n        return 999.0\n    rmse = np.sqrt(np.mean((merged['temp_sim'] - merged['temp_obs'])**2))\n    return rmse\n\n# Usage: get lake_depth from glm3.nml &init_profiles section\nsim_df = read_glm_output('output\u002Foutput.nc', lake_depth=25)\nobs_df = read_observations('field_temp_oxy.csv')\nrmse = calculate_rmse(sim_df, obs_df)\nprint(f\"RMSE: {rmse:.2f}C\")\n```\n\n## Common Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| RMSE very high | Wrong depth conversion | Use `lake_depth - z`, not `z` directly |\n| No matched observations | Datetime mismatch | Check datetime format consistency |\n| Empty merged dataframe | Depth rounding issues | Round depths to integers |\n\n## Best Practices\n\n- Check `lake_depth` in `&init_profiles` section of `glm3.nml`\n- Always convert z to depth from surface before comparing with observations\n- Round depths to integers for matching\n- Group by datetime and depth to handle duplicate records\n- Check number of matched observations after merge\n",{"name":5,"license":14,"description":7},"main","7eeb258ada72b7f58119b0e7a2c00ea89d9beedd","tasks\u002Fglm-lake-mendota\u002Fenvironment\u002Fskills\u002Fglm-output","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":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add Waaaalnut\u002Fskillsbench --skill glm-output",{"tool":54,"command":55},"bunx","bunx skills add Waaaalnut\u002Fskillsbench --skill glm-output",{"tool":57,"command":58},"pnpm","pnpm dlx skills add Waaaalnut\u002Fskillsbench --skill glm-output","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fglm-lake-mendota\u002Fenvironment\u002Fskills\u002Fglm-output\u002FSKILL.md",true,[],[63,72,87,106,127,146],{"skillNo":64,"name":65,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":36},"01M6XEWMJ6VY3ZC53MPDCPG3GH","data-reconciliation","Apache-2.0","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fxlsx-recover-data\u002Fenvironment\u002Fskills\u002Fdata-reconciliation\u002FSKILL.md",[],[70,71,22],"data reconciliation","reconciliation",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":36},"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",[],[79,80,81,82,83,84,85,86],"speech","text","speech to text","transcribe video","whisper","model","Video","transcribe",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":36},"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",[],[85,94,95,96,97,98,21,99,100,31,101,26,102,103,104,30,105],"processor","video processor","batch","create","reels","parts","segments","videos","segment","filter","ffmpeg","remove",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":36},"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",[],[113,114,115,116,21,26,117,118,119,120,121,100,122,123,85,124,125,126,30],"detector","silence detector","title","slides","time","energy","at","recordings","detect","find","Audio","analysis","start","setup",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":36},"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",[],[102,134,85,135,136,137,138,139,21,140,141,100,26,142,143,30,144,145],"segment combiner","detection","prepare","merge","video processing","for","outputs","combine","processing","consolidate","results","list",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":36},"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",[],[153,154,155,102,21,139,26,156,142,157,158,159,30,138,160,85,161,162,97],"generator","report generator","report","with","statistics","structured","reports","json","compression","generate"]