Topic: 3.2.4 Period within year rule
Section 3.2.4 of the Rule Guide I cannot get to work if I incorporate a [Data] section. In fact the examples confuse the issue as opposed to helping (sorry!)
I want to create a single species rule that incorporates multiple stages. My species has an adult phenology of 1 April to 31 May and larval phenology is 1 May to 31 July; therefore, all stages span from 1 April to 31 July but I want records for a specific stage to fail outside their specific and total phenology span.
I've tried all morning to get this to work and failed so I'm assuming this doesn't work.
Has anyone tried this and succeeded or can anyone provide a template rule that will work?
Here's my code:
[Metadata] TestType=PeriodWithinYear Group=Moths Phenology ShortName=Dyseriocrania subpurpurella Description=Checks date is within known phenology of Dyseriocrania subpurpurella ErrorMsg=Date is outside known phenology of Dyseriocrania subpurpurella Tvk=NHMSYS0021142333 DataFieldName=Stage StartDate=0401 EndDate=0731 LastChanged=20160515 [EndMetadata] [Data] Stage=Adult StartDate=0401 EndDate=0531 Stage=Larval StartDate=0501 EndDate=0731
Any help appreciated to show me where I'm clearly misunderstanding the issue.
Senior Data Manager, National Moth Recording Scheme