logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pkstatprofile - program to calculate statistics in temporal or spectral profile

Description

pkstatprofile calculates statistics for a temporal (time series) or spectral profile.

       Function   Description
       mean       calculate mean in window
       median     perform  a  median  filter in spatial
                  (dx, dy)  or  spectral/temporal  (dz)
                  domain
       var        calculate variance in window
       stdev      calculate  standard deviation in win‐
                  dow
       min        calculate minimum in window
       max        calculate maximum in window
       sum        calculate sum in window
       mode       calculate mode of all values
       ismin      1 if value is minimum, else 0
       ismax      1 if value is maximum, else 0
       per        calculate percentile in  time  series
                  (provide  percentage  value  as argu‐
                  ment)
       prop       calculate proportion
       nvalid     report number of valid observations

       Calculate min and max NDVI in time series

       pkstatprofile-imodis_ndvi_2010.tif-omodis_stats_2010.tif-fmin-fmax

Name

       pkstatprofile - program to calculate statistics in temporal or spectral profile

Options

-ifilename, --inputfilename
              Input image file.

       -ofilename, --outputfilename
              Output image file

       -ffunction, --functionfunction
              Statistics function (mean, median, var, stdev, min, max, sum, mode (provide classes),  ismin,  is‐
              max, proportion (provide classes), percentile, nvalid

       -percpercentile, --percpercentile
              Percentile value(s) used for rule percentile

       -classclass, --classclass
              class value(s) to use for mode, proportion

       -nodatavalue, --nodatavalue
              Set nodata value(s)

       -ottype, --otypetype
              Data type for output image ({Byte / Int16 / UInt16 / UInt32 / Int32 / Float32 / Float64 / CInt16 /
              CInt32 / CFloat32 / CFloat64}).  Empty string: inherit type from input image.

       -offormat, --oformatformat
              Output image format (see also gdal_translate(1)).

       -ctfilename, --ctfilename
              Color  table  (file  with 5 columns: id R G B ALFA (0: transparent, 255: solid).  Use none to omit
              color table.

       -coNAME=VALUE, --coNAME=VALUE
              Creation option for output file.  Multiple options can be specified.

       -dvalue, --downvalue
              Down sampling factor.  Use value 1 for no downsampling.  Use value n>1 for downsampling  (aggrega‐
              tion).

       -vlevel, --verboselevel
              Verbose mode if > 0

                                                 01 January 2025                                pkstatprofile(1)

Synopsis

pkstatprofile-iinput-ooutput [-ffunction] [options]

See Also