Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Ameriflux Namelist Generator

ASecurity

Create EcoSIM Fortran namelist files and workable EcoSIM run folders for AmeriFlux site runs from site-specific grid, plant management, climate forcing, and greenhouse-gas inputs. Use when preparing or updating an EcoSIM `.namelist`, run folder, runfolder, run directory, or executable-ready site case for AmeriFlux or FLUXNET sites, especially after generating `*_ecosim_grid.nc`, `*_ecosim_climate.nc`, and `*_pft_mgmt.nc` inputs.

3 stars
0 votes
0 copies
0 views
Added 9/19/2026
testingpythongobashgit

Works with

cli

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add bioepic-data/ecosim-agent --skill ameriflux-namelist-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ameriflux Namelist Generator?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Ameriflux Namelist Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bioepic-data-ameriflux-namelist-generator/badge)](https://www.skillsdirectory.com/skills/bioepic-data-ameriflux-namelist-generator)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: ameriflux-namelist-generator
description: Create EcoSIM Fortran namelist files and workable EcoSIM run folders for AmeriFlux site runs from site-specific grid, plant management, climate forcing, and greenhouse-gas inputs. Use when preparing or updating an EcoSIM `.namelist`, run folder, runfolder, run directory, or executable-ready site case for AmeriFlux or FLUXNET sites, especially after generating `*_ecosim_grid.nc`, `*_ecosim_climate.nc`, and `*_pft_mgmt.nc` inputs.
---

# AmeriFlux Namelist Generator

## Overview

Use this skill to create EcoSIM run namelists and executable-ready run folders for AmeriFlux sites. The namelist follows the Blodgett `Blodget.ndlf.nolig.namelist` pattern: one `regression_test` block, one `ecosim` block with site-specific forcing paths and output controls, an empty `bbgcforc` block, and one `ecosim_time` block.

Read [references/namelist_contract.md](references/namelist_contract.md) when you need the field contract, forcing-period rules, path conventions, or validation checklist.

For any request to create a run folder, runfolder, run directory, or runnable site case, read and follow [references/runfolder_workflow.md](references/runfolder_workflow.md) before writing files.

## Workflow

1. Identify the AmeriFlux `site_id` such as `US-Ha1`, `US-MMS`, or `US-Var`.
2. Confirm that site artifacts exist. Prefer:
   - `result/<SITE_ID>/<SITE_ID>_ecosim_grid.nc`
   - `result/<SITE_ID>/<SITE_ID>_ecosim_climate.nc`
   - `result/<SITE_ID>/<SITE_ID>_pft_mgmt.nc`
   - `result/<SITE_ID>/<SITE_ID>_ecosim_site.json`
   Then search `result/`, `inputs/`, `data/`, and the repository root.
3. If climate, grid, soil, or plant-management files are missing, use the relevant AmeriFlux skills first: `ameriflux-era5-to-ecosim`, `ameriflux-surgo-grid-extract`, `ecosim-natural-plant-mgmt`, or `unified-ameriflux-extractor`.
4. Generate the namelist with the bundled script:

```bash
python .agents/skills/ameriflux-namelist-generator/scripts/create_ameriflux_namelist.py \
  --site-id US-Var \
  --output result/US-Var/US-Var.namelist \
  --pft-file /Users/jinyuntang/work/github/ecosim_workspace/croots/input_data/ecosim_pftpar_20260520.nc \
  --atm-ghg-file /Users/jinyuntang/work/github/ecosim_workspace/croots/input_data/fatm_hist_GHGs_1750-2023.nc
```

5. If writing the namelist into an EcoSIM run directory, pass `--run-dir /path/to/run_dir` so input paths are written relative to the run directory, matching the Blodgett example.
6. Review `start_date`, `forc_periods`, and `stop_n`. The script can infer forcing years from `year` in the climate NetCDF, but simulation chronology is a modeling decision.
7. Validate that referenced files exist from the namelist execution directory.

## Common Overrides

- Use `--case-name` for a model case label different from the site ID.
- Use `--grid-file`, `--pft-mgmt-file`, and `--climate-file` when auto-discovery chooses the wrong artifact.
- Use `--force-start-year`, `--spinup-end-year`, `--force-end-year`, `--spinup-cycles`, `--start-year`, and `--stop-n` to control chronology.
- Use `--lignification true` for lignified root experiments; default is `.false.`.
- Use `--micpar-file` to include a `micpar_file_in` line.

## Cautions

- Do not set missing climate, grid, or plant-management files to `NO`; that can make EcoSIM run with physically meaningless forcing or no active plant management.
- Keep `delta_time=3600.` when using hourly AmeriFlux/EcoSIM climate forcing.
- Ensure the greenhouse-gas forcing spans the requested simulation period. Historical-only `fatm_hist_GHGs_1750-2023.nc` is not sufficient for future SSP runs.
- If `forc_periods` repeats a short forcing window for spinup, make that intentional and document it in the run notes.

## Validation

Run:

```bash
python .agents/skills/ameriflux-namelist-generator/scripts/create_ameriflux_namelist.py --site-id US-Var --dry-run
```

Then inspect the output and verify:

- `case_name` matches the site/case.
- `grid_file_in`, `pft_mgmt_in`, and `clm_hour_file_in` point to the intended NetCDF files.
- `forc_periods` uses valid years available in the climate forcing.
- `hist_fincl1`, `hist_mfilt`, and `hist_nhtfrq` match the intended output diagnostics.

Attribution

bioepic-databioepic-data
View sourceMore from bioepic-data →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Screen Reader Testing

Practical guide to testing web applications with screen readers for comprehensive accessibility validation.

397921 votes

Golang Testing

Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。

2456590 votes

Springboot Tdd

使用JUnit 5、Mockito、MockMvc、Testcontainers和JaCoCo进行Spring Boot的测试驱动开发。适用于添加功能、修复错误或重构时。

2456590 votes

Tdd Workflow

在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。

2456590 votes

Python Testing

使用pytest、TDD方法、夹具、模拟、参数化和覆盖率要求的Python测试策略。

2456590 votes
View all in testing →