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

pkkalman - kalman raster images: median, min/max, morphological, kalmaning

Description

pkkalman  will complement a time series of observations (option -obs) at fine spatial resolution.  A data
       assimilation technique based on a Kalman filter is hereby used.  The data at fine spatial resolution  are
       assimilated  with  coarse spatial resolution time series at a finer temporal resolution, referred to as a
       model (option -mod).  The time series for both observation and model can either be provided as multi-band
       raster datasets or as multiple single band datasets.  Missing data in the observations are  predicted  by
       the  algorithm.  The model must cover at least the spatial coverage of the observation.  The missing data
       must be provided either as nodata values in the input (using option -obsnodata) or as  an  external  mask
       (using  option -obsmask).  The time sequence for the model and observation should be provided via the op‐
       tions -tmod and -tobs.  Tuning parameters for the algorithm are process noise (option -q) and the weights
       for uncertainty of valid observations (-uo) and the model (-um).

Name

       pkkalman - kalman raster images: median, min/max, morphological, kalmaning

Options

-dirforward|backward|smooth, --directionforward|backward|smooth
              direction to run model (forward|backward|smooth)

       -modfilename, --modelfilename
              coarse spatial resolution input datasets(s) used as model.  Use either  multi-band  input  (-modelmultiband_model.tif) or multiple single-band inputs (-modmodel1-modmodel2 etc.)

       -modmaskfilename, --modmaskfilename
              model  mask datasets(s).  Must have same dimension as model input.  Use either multi-band input or
              multiple single-band inputs

       -obsfilename, --observationfilename
              fine spatial resolution input dataset(s) used as observation.  Use either multi-band  input  (-obsmultiband_obs.tif) or multiple single-band inputs (-obsobs1-obsobs2 etc.)

       -obsmaskfilename, --obsmaskfilename
              observation  mask dataset(s).  Must have same dimension as observation input (use multi-band input
              or multiple single-band inputs)

       -tmodnumber, --tmodelnumber
              time sequence of model input.  Sequence must have exact same length as model input.   Leave  empty
              to have default sequence 0,1,2,etc.

       -tobsnumber, --tobservationnumber
              time sequence of observation input.  Sequence must have exact same length as observation input

       -a_srsEPSG:number, --a_srsEPSG:number
              Override the projection for the output file (leave blank to copy from input file, use epsg:3035 to
              use European projection and force to European grid)

       -ofwfilename, --outputfwfilename
              Output raster dataset for forward model

       -u_ofwfilename, --u_outputfwfilename
              Uncertainty output raster dataset for forward model

       -obwfilename, --outputbwfilename
              Output raster dataset for backward model

       -u_obwfilename, --u_outputbwfilename
              Uncertainty output raster dataset for backward model

       -ofbfilename, --outputfbfilename
              Output raster dataset for smooth model

       -u_ofbfilename, --u_outputfbfilename
              Uncertainty output raster dataset for smooth model

       -modnodatavalue, --modnodatavalue
              invalid value for model input

       -obsnodatavalue, --obsnodatavalue
              invalid value for observation input

       -msknodatavalue, --msknodatavalue
              Mask value not to consider

       -mskbandvalue, --mskbandvalue
              Mask band to read (0 indexed)

       -obsminvalue, --obsminvalue
              Minimum value for observation data

       -obsmaxvalue, --obsmaxvalue
              Maximum value for observation data

       -epsvalue, --epsvalue
              epsilon for non zero division.  Default: 0.00001

       -umvalue, --uncertmodelvalue
              Uncertainty of the model

       -uovalue, --uncertobsvalue
              Uncertainty of valid observations

       -unodatavalue, --uncertnodatavalue
              Uncertainty in case of no-data values in observation.

       -qvalue, --qvalue
              Process  noise: expresses instability (variance) of proportions of fine res pixels within a moder‐
              ate resolution pixel

       -downnumber, --downnumber
              Downsampling factor for reading model data to  calculate  regression  (default  is  ratio  between
              coarse (model) and fine (obs) resolution raster datasets)

       -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

       -ofGDALformat, --oformatGDALformat
              Output image format (see also gdal_translate(1)).  Empty string: inherit from input image

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

       -vlevel, --verboselevel
              verbose mode when positive

                                                 01 January 2025                                     pkkalman(1)

Synopsis

pkkalman [options]

See Also