Goodearth Calendar Dataset
goodearth_calendar_datasetCompute this block's dated season as a dataset, and store it for publishing.
Every dated thing this block knows about: crop targets, pest stages, wildlife and husbandry dates, the frost record, and your tasks. Returned as structured rows — a calendar is one rendering of them, and a caller wanting a table or a notification wants the same data.
An iCalendar rendering is stored alongside under a feed token, which the Good Earth site serves at a subscribable URL. Point any iCal or Google Calendar client at it and the season appears next to the school run and the market stall, which is where a grower will actually see it.
This is the computed act: it reads the weather feeds and rebuilds everything. Pass the same token again to recompute in place — subscribers keep their subscription and the events update rather than duplicating.
Nothing is passed in but the block: what it grows, what it watches for and what is due are read from the record. That is what makes a refresh safe — while those collections travelled as arguments, nobody could recompute an existing feed without knowing what had been handed to it the first time, so a refresh silently published a smaller season than the one it replaced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | Required. Your Nostr public key (npub1...) for credit billing. | |
| block | Yes | The ground to answer for: a block you have saved — its id, its name, one of its aliases, or any part of its name that only one block has (e.g. "Meadow" for "Lower Meadow"). If several match, the error lists them with their ids. Blocks may overlap; each answers for its own ground. Save one with block_save first; geometry travels once, not on every call. | |
| token | No | Pass an existing feed's token to REFRESH it in place; omit to create one. | |
| season | No | Which season to publish. Defaults to this one. | |
| dpop_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||