HI Alex, 

I am not sure why that would make a difference and why the issue would only 
occur with some files. But, if you are happy to share a file that would be 
great, I will not share and delete it after I’ve debugged the issue. 

No, you don’t need to worry about those warning unless you want to do something 
specific with the pulse structure. These errors occur as SPDLib tries to 
recreate the original pulse structure of the data but pre-processing of the 
data (e.g., noise filtering, cutting into tiles etc.) often breaking things 
about this structure in LAS files as it is not a requirement of the file 
structure. 

Best wishes, 

Pete

> On 6 Apr 2022, at 22:11, Christensen, Alexandra (US 334F-NASA) 
> <[email protected]> wrote:
> 
> Hi Pete, 
>  
> I will send you an example file separately. However, I am able to get around 
> the issue if I remove the temporary folder option, but it’s not clear why 
> that works.
>  
> Also, should I be worried about the many warnings such as:
> WARNING: Pulse was written as incompleted pulse.
> Warning: Point ignored. It is the first in pulse but has a return number 
> greater than 1.
>  
> Thanks,
> Alex
>  
> From: Pete Bunting <[email protected]>
> Date: Wednesday, April 6, 2022 at 2:01 PM
> To: "Christensen, Alexandra (US 334F-NASA)" 
> <[email protected]>
> Cc: "[email protected]" 
> <[email protected]>
> Subject: [EXTERNAL] Re: [spdlib-develop] Spdtranslate error with tmp files
>  
> Hi Alex,  
>  
> I am not sure. Is it possible for you to share one of the las files which 
> produce the error to see if I can reproduce?
>  
> Many thanks, 
>  
> Pete
> 
> 
>> On 6 Apr 2022, at 18:45, Christensen, Alexandra (US 334F-NASA) via 
>> spdlib-develop <[email protected] 
>> <mailto:[email protected]>> wrote:
>>  
>> Hello,
>>  
>> I’ve been running into a new error when processing lidar files with spdlib. 
>> Out of several hundred .las files, 2-3 have errors with spdtranslate:
>>  
>> spdtranslate --if LAS --of SPD -x LAST_RETURN -t directory/tmp/ -i 
>> directory/20210130_210127.las -o directory/output/20210130_210127.spd
>>  
>> While running, I get several warnings about incompleted pulse (but this is 
>> not unusual).
>>  
>> However, after 251 temp files, I get an error:
>> Error: Could not create SPD file: directory/output/tmp/252.spd
>>  
>> It doesn’t seem to be a disk space or memory issue as it is not any larger 
>> than any other files that run successfully.
>>  
>> Thanks,
>> Alex
>>  
>>  
>> _______________________________________________
>> spdlib-develop mailing list
>> [email protected] 
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/spdlib-develop 
>> <https://urldefense.us/v3/__https:/lists.sourceforge.net/lists/listinfo/spdlib-develop__;!!PvBDto6Hs4WbVuu7!YmAbRFM32PuQndwvAmsfppaYKT68sm9b2aVZMmLerDp-gsdgm1Rx6aJqHm-nxBpooEJ5ItwoSxQaCys$>
_______________________________________________
spdlib-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spdlib-develop
  • [spdlib-develop] ... Christensen, Alexandra (US 334F-NASA) via spdlib-develop
    • Re: [spdlib-... Pete Bunting via spdlib-develop
      • Re: [spd... Christensen, Alexandra (US 334F-NASA) via spdlib-develop
        • Re: ... Pete Bunting via spdlib-develop
          • ... Christensen, Alexandra (US 334F) via spdlib-develop

Reply via email to