1 (edited by charliebarnes 09-08-2018 15:26:13)

Topic: Zero abundances

I seem to have lost the ability to enter zero abundance records; that is when I enter an observation in the obs hierachy with the data:

measurement: abundance
qualifier: present
data: 0
unit: count
accuracy: exact

the zero_abundance flag isn't being set. This applies to new records as well as pre-existing zero abundance records (the zero_abundance flag getting set to 0 on save).

Before I investigate further, is anyone else having this problem??

Charlie Barnes
Information Officer
Greater Lincolnshire Nature Partnership

2

Re: Zero abundances

Importing zero abundance works (but the flag gets reset if I edit/save the obs)

Charlie Barnes
Information Officer
Greater Lincolnshire Nature Partnership

3 (edited by charliebarnes 10-08-2018 10:16:42)

Re: Zero abundances

Ah, I think I see the problem. The measurement unit is hard coded in the Recorder 6 code (function CheckZeroAbundance):

  ResStr_MUnitCount     = 'Count';
  ResStr_MTypeAbundance = 'Abundance';

I had added a space to the beginning of 'count' so it appeared at the top of the list. The procedure used by the import wizard restricts checking to Measurement_Type_Key and units with a numeric data type, so wasn't affected. These two functions should really be using the same code given the result is the same.

Charlie Barnes
Information Officer
Greater Lincolnshire Nature Partnership