Commit Graph

566 Commits

Author SHA1 Message Date
Tom Keffer
dfbd8d6d3c Document degree_K as a temperature option 2022-08-01 05:54:56 -07:00
Tom Keffer
29ef5e3cff Fixes sample code. Improve readability.
The code supplied as an example did not compile.
The example of overriding output with .format() had a mistake.
2022-07-30 14:22:19 -07:00
roe-dl
aa81f79785 comment 6
As this is about how to make calculated values formattable, unit issues may not be useful there.
2022-07-30 12:23:20 +02:00
roe-dl
6f3790dd7b fix comment 4 2022-07-30 12:07:51 +02:00
roe-dl
cb3901adac fix comment 3 2022-07-30 11:40:46 +02:00
roe-dl
d12c9483aa fix comment 1 and 2 2022-07-30 11:25:11 +02:00
roe-dl
ac8aca4728 change the example 2022-07-28 21:57:26 +02:00
roe-dl
90e18cb807 explaining #set directive 2022-06-29 18:32:59 +02:00
Tom Keffer
c2b17ea203 Document PR #765. 2022-05-05 09:07:56 -07:00
Tom Keffer
bdc9c81b10 Add instructions on changing the schema using wee_database. 2022-05-05 08:54:02 -07:00
Tom Keffer
80160d8140 Version 4.8.0 2022-04-21 17:41:41 -07:00
Tom Keffer
7f0d688aa8 Merge branch 'master' into development 2022-04-21 17:29:09 -07:00
Tom Mitchell
d0b8cdb193 Fix slight grammar error
"changes to it will have no affect" --> "changes to it will have no effect"
2022-04-16 14:33:53 -04:00
Tom Keffer
77b00e5475 Allow unit to be overridden for a specific plot by using new option 'unit'.
Fixes issue #729.
2022-04-15 14:55:08 -07:00
Tom Keffer
7efb8bd532 Revise description of $SummaryBy tags. 2022-03-11 06:13:58 -08:00
Tom Keffer
2dfb5ca255 Merge branch 'development' of https://github.com/bellrichm/weewx into bellrichm-development 2022-03-11 05:59:38 -08:00
Rich Bell
2ac59e53bd Document $SummaryByDay, $summaryByMonth, $SummaryByYear tags 2022-03-10 15:35:21 -05:00
Tom Keffer
5387708aaf Explain how to include SQL arbitrary expressions in a plot. 2022-03-08 04:51:38 -08:00
Tom Keffer
b3c8f8ea0f Version 4.7.0 2022-03-01 15:36:25 -08:00
Tom Keffer
a539c365c2 Merge branch 'bellrichm-development' into development
# Conflicts:
#	docs/changes.txt
2022-02-22 08:23:25 -08:00
Tom Keffer
4fc3b85f38 Document generate_once in the change log. PR #748. 2022-02-22 08:20:28 -08:00
Tom Keffer
dd2e1d2425 Correct error in language tag.
Should be $lang, not $gettext("lang").
Fixes issue #749.
2022-02-16 15:44:45 -08:00
Rich Bell
cc74a27fc1 Processing of Cheetah templates on first inocation only 2022-01-25 09:26:50 -05:00
Tom Keffer
a00650583b Add option 'boundary' to $span().
If set to 'midnight', then the starting time will be set to the previous midnight.
2022-01-21 15:45:27 -08:00
Tom Keffer
056b08ed09 If null, use transparent color instead of blank string.
Move ValueTuple and ValueHelper docs to customizing guide.
2022-01-21 13:39:45 -08:00
Tom Keffer
31dc91c7b9 Remove the now redundant SLE information from the customizing guide. 2022-01-14 13:12:40 -08:00
Tom Keffer
a134534759 Add an SLE example $colorize().
New document about how to write an SLE.
Add a new function weewx.units.convertStdName().
2022-01-14 05:26:27 -08:00
Tom Keffer
aec1acb028 Rename the 'stats' example to 'seven_day' 2022-01-11 14:33:57 -08:00
Tom Keffer
7d8548c35b Move tag $alltime from examples to WeeWX core. 2022-01-10 13:37:32 -08:00
Tom Keffer
7fd137cef2 Improved description of how to create a search list extension. 2021-12-26 15:54:00 -08:00
Tom Keffer
6d7caa2b5e The METRIC system uses cm for rain, not mm.
Added missing <p>.
2021-12-20 05:05:29 -08:00
Matthew Wall
fe590f1a0f minor table width adjustment. v4.5 is in the past. 2021-12-19 22:13:54 -05:00
Matthew Wall
90cafac084 added section 'Changing date and time formats' 2021-12-19 21:58:48 -05:00
Tom Keffer
19c55531c4 More clarifying comments in the Customizing Guide. 2021-12-06 13:02:09 -08:00
Tom Keffer
3317081e3b Use strict (and simpler) option hierarchy.
Update test suites.
Update docs to match.
2021-11-30 17:47:04 -08:00
Tom Keffer
7337dcd9a4 Refactored _build_skin_dict.
Moved options lang and unit_system to [[Defaults]].
Include test suite for how the skin_dict is built.
Resolved some option hierarchy conflicts.
2021-11-28 15:35:04 -08:00
Tom Keffer
a7bf4d2d28 Merge in unit_system at all levels in the option hierarchy.
Use search_up() to find the language spec.
Shut off interpolation when reading skin configurations.
Set an appropriate default for unit_system in the language file.
2021-11-02 13:39:28 -07:00
Tom Keffer
8462bc823a Further refinement of customizing guide.
Fixed some HTML errors.
Added some links.
2021-11-02 05:10:47 -07:00
Gary
7ea6552c1e minor changes in terminology 2021-11-02 19:57:09 +10:00
Matthew Wall
6df04c9762 minor wordsmithing for the options section of the customization guide 2021-11-01 22:56:55 -04:00
Tom Keffer
f25beb8320 Moved all labels and formats out of units.py and into defaults.py.
Reordered the processing of options a bit.
Documented the options hierarchy in a little more detail.
2021-11-01 17:58:45 -07:00
Tom Keffer
d4ad4e48d5 Replaced $gettext('lang') with the simpler $lang.
Tag $skin is the value for skin=xxx in weewx.conf.
Tag $SKIN_NAME is the name given in skin.conf.
Documented all the global tags.
2021-10-31 18:37:02 -07:00
Tom Keffer
bcc35e26fd Documented new tags $SKIN_NAME, $SKIN_VERSION, and $getobs(). 2021-10-31 08:24:49 -07:00
Tom Keffer
15c042f878 Refined the Customizing Guide. 2021-10-26 17:00:23 -07:00
Tom Keffer
285dcad122 Minor tweaks. 2021-10-05 15:02:36 -07:00
Tom Keffer
bd9a1e26e7 Switched from bracket style gettext[] to function style gettext().
Use pgettext() for context-sensitive lookups.
This will make it easier to write tools, and to use alternative implementations.
Updated Customizing Guide to follow.
Updated test suites to follow.
2021-09-28 15:21:21 -07:00
Tom Keffer
6408a33318 Added plot option 'skip_if_empty'.
If set to true and there is nothing but null
data in the plot, then the plot will not
be generated at all. See PR #702.
2021-09-25 12:38:59 -07:00
Tom Keffer
9b69bb063d Slightly faster evaluation of the tag suffix 'has_data'.
New aggregation type 'not_null'.
New unit 'boolean'.
New unit group 'group_boolean'.
2021-09-25 09:27:28 -07:00
Tom Keffer
f6a9dec505 Standardized as $gettext["lang"], consistent with other uses. 2021-08-13 09:47:44 -07:00
Tom Keffer
a88ee5dd64 Update customization guide to reflect new languages. 2021-08-11 11:04:09 -07:00