[gdal-dev] Python code with gdal_calc
Scott
public at postholer.com
Thu Jun 6 22:05:21 PDT 2024
https://gdal.org/programs/gdal_calc.html
see the examples at the bottom. There are a number of numpy.* statements.
On 6/6/24 21:48, lefsky--- via gdal-dev wrote:
> I know gdal_calc calculates using "python syntax" but I've never seen
> documentation for using numpy functions within the calc statement. From
> my simplistic perspective, allowing numpy functions would make gdal_calc
> much more powerful without too much additional coding.
>
> Or is there something I'm missing?
>
> M
>
> Michael Lefsky (He/His)
> Home Location: HVHF+GH
> Cell: 970-980-9036
> http://www.researcherid.com/rid/A-7224-2009
> <http://www.researcherid.com/rid/A-7224-2009>
>
> /*“**for being prematurely, and worse, intuitively right — there’s a
> heavy price. But for being wrong — no, not so long as you’re wrong in a
> pack.****" Gary Brecher / Portis*/
> /*
> */
> *I acknowledge that I live and work on stolen land. This is the land of
> the Cheyenne, Arapaho, Ute, and Ocheithi Sakowin people. To learn more
> about these nations, please visit;
> http://www.utemountainutetribe.com/ <http://www.utemountainutetribe.com/>
> http://www.cheyennenation.com/ <http://www.cheyennenation.com/>
> https://cheyenneandarapaho-nsn.gov/ <https://cheyenneandarapaho-nsn.gov/>
> https://native-land.ca/ <https://native-land.ca/>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list