bugpktools - Bugs: bug #43713, [pkfilter] -nodata switch not...

 
 

bug #43713: [pkfilter] -nodata switch not working in the spectral/temporal domain

Submitted by:  Dennis <dcd>
Submitted on:  Thu 27 Nov 2014 02:23:04 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Pieter kempeneers <kempenep>
Open/Closed: ClosedOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 27 Nov 2014 02:33:52 PM UTC, comment #1:

The nodata values were not taken into account in the spectral/temporal domain. Fixed in version 2.6.1 as for statistical filters (min, max, mean, median, etc.). Smoothing (!= smoothnodata) and filtering with user defined taps ignore nodata values.

Pieter kempeneers <kempenep>
Project AdministratorIn charge of this item.
Thu 27 Nov 2014 02:23:04 PM UTC, original submission:

I've managed to get the latest pktools (>2.5.4) running on a VM (Ubuntu Server 14.10) with gdal 1.10 installed.

I'm testing with some stacked Landsat data, which has already been masked for clouds, water, etc. All masked items are assigned a value of -9999. All other pixels values are spectral reflectance that range from 0 to some positive integer.

I ran pkfilter on a set of 7 stacked scenes (77 bands) like so:

pkfilter -i stack.tif -o test_mean.tif -v 1 -dz 1 -f mean -nodata -9999

It runs quickly (great tool!), but I noticed that I still have negative values in my output raster. The mask value appears to be recognized by pkfilter (e.g., it reports: "mask values: -9999). It appears that the -nodata switch isn't being honored in the spectral/temporal domain, but I can't confirm this 100%.

Dennis <dcd>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kempenep (Posted a comment)
  • -unavailable- added by dcd (Submitted the item)
  • -unavailable- added by dcd (bug report)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 18 Jan 2015 10:38:55 AM UTCkempenepOpen/ClosedOpen=>Closed
    Tue 13 Jan 2015 10:32:21 AM UTCkempenepStatusReady For Test=>Fixed
    Thu 27 Nov 2014 02:33:52 PM UTCkempenepStatusNone=>Ready For Test
      Assigned toNone=>kempenep
    Thu 27 Nov 2014 02:23:04 PM UTCdcdCarbon-Copy-=>Added dcd

    Back to the top


    Powered by Savane 3.1-cleanup1