Skip to content

Commit

Permalink
Merge pull request #402 from blaylockbk/blaylockbk/issue198-add-CFS-m…
Browse files Browse the repository at this point in the history
…odel

Examples for CFS
  • Loading branch information
blaylockbk authored Jan 16, 2025
2 parents 8980367 + 27ac1dc commit f4f8aa0
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion docs/gallery/noaa_models/cfs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,42 @@
"\n",
"- [`product=\"time_series\"`](#time-series-product)\n",
"- [`product=\"6_hourly\"`](#6-hourly-product)\n",
"- [`product=\"monthly\"`](#monthly-product)"
"- [`product=\"monthly\"`](#monthly-product)\n",
"\n",
"Some examples below\n",
"\n",
"```python\n",
"H = Herbie(\n",
" date,\n",
" model=\"cfs\",\n",
" product=\"time_series\",\n",
" member=1, # {1, 2, 3, 4}\n",
" variable=\"tmp2m\", # the file's variable short name.\n",
")\n",
"```\n",
"\n",
"```python\n",
"H = Herbie(\n",
" date,\n",
" model=\"cfs\",\n",
" product=\"6_hourly\",\n",
" kind=\"flxf\", # {\"flxf\", \"pgbf\", \"ocnf\", \"ipvf\"}\n",
" member=1, # {1, 2, 3, 4}\n",
" fxx=12, # {0 ... (what's the max forecast hour??}\n",
")\n",
"```\n",
"\n",
"```python\n",
"H = Herbie(\n",
" date,\n",
" model=\"cfs\",\n",
" product=\"monthly_means\",\n",
" kind=\"pgbf\", # {\"flxf\", \"pgbf\", \"ocnh\", \"ocnf\", \"ipvf\"}\n",
" member=1, # {1, 2, 3, 4}\n",
" month=1, # {0 through 9 (I think)}\n",
" hour=None, # None for daily mean, or {0, 6, 12, 18}\n",
")\n",
"```"
]
},
{
Expand Down

0 comments on commit f4f8aa0

Please sign in to comment.