Skip to main content

Geographic and Meteorological Analysis.

Project description

Preface

For most scholars of geosciences or meteorology, data processing is a big project, which can take several hours or days of data processing. Without good tools or methods, it will be extremely difficult to analyze and research data with multiple time series (such as time series remote sensing data) and large-scale (such as nationwide), because data processing itself is very time-consuming and labor-intensive.

In order to solve these problems, gma (Geographic and Meteorological Analysis) encapsulates the data processing process (Depends on gdal, pandas, numpy et al.).

Climate and meteorology (climet)

  • SPEI: Standardized Precipitation Evapotranspiration Index.

  • SPI: Standardized Precipitation Index.

  • PAP: Precipitation Anomaly Percentage.

  • MKMutationTest: Mutation test for time series data based on Mann-Kendall method.

  • ET0.PenmanMonteith: Calculate daily crop reference evapotranspiration based on the Penman-Monteith (FAO-56) method.

  • ET0.Thornthwaite: Calculate monthly potential evapotranspiration based on Thornthwaite (1948) method.

  • ET0.Hargreaves: Calculate daily potential evapotranspiration based on Hargreaves (1998) method.

  • Other.DaylightHours: Calculate daylight hours (h) based on the method recommended by FAO-56.

  • Other.Declination: Calculate declination (red) based on the method recommended by FAO-56.

  • Other.HourAngle: Calculate hour angle based on the method recommended by FAO-56 (t).

  • Other.RDBSunAndEarth: Calculate sun earth relative distance (AU) based on the method recommended by FAO-56.

  • Other.SolarRadiationFluxOA: Calculate extraatmospheric solar radiation flux (MJ/m2) based on the method recommended by FAO-56.

  • Diagnosis.MKMutationTest: Mutation test for time series data based on Mann-Kendall method.

  • Diagnosis.Buishand: Checks homogeneity test using Buishand’s methods proposed in T. A. Buishand (1982).

  • Diagnosis.SNHT: Checks homogeneity test using H. Alexandersson (1986) method.

  • Diagnosis.Pettitt: Checks homogeneity test using A. N. Pettitt’s (1979) method.

Remote sensing index (rsvi)

  • EVI: Enhanced Vegetation Index.

  • NDBI: Normalized Difference Water Index.

  • NDWI: Normalized Difference Water Index.

  • NDVI: Normalized Difference Vegetation Index.

  • TVDI: Temperature Vegetation Drought Index.

Mathematical Calculations (math)

  • ToNumericArray: Force the input data to be converted into a numeric array, and the value that cannot be converted will be modified to nan.

  • FillNoData: Interpolate missing or abnormal values.

  • Smooth.SavitzkyGolay: Data smoothing based on Savitzky-Golay method.

  • Smooth.MovingAverage: Data smoothing based on moving average method.

  • Evaluation.RMSE: Root Mean Square Error.

  • Evaluation.NRMSE: Normalized Root Mean Square Error.

  • Evaluation.D: D index.

  • Evaluation.CORR: Correlation coefficient and significance level.

  • Evaluation.R2: Decisive factor.

  • Evaluation.MaxAE: Maximum Absolute Error.

  • Evaluation.Select:Select one or more Evaluation indicators to be calculated in evaluation for calculation.

  • Evaluation.Methods: Record all evaluation methods in the evaluation class.

  • Kernel.Aggregate: Aggregate array.

  • Kernel.GeneralFilter: Apply a general filter to an array.

  • Kernel.GaussFilter: Apply a gaussian filter to an array.

  • Stretch.Percentage: Truncates the array based on the percentage interval entered.

  • Stretch.STD: Standard deviation stretch.

  • Stretch.MaxMin: Use linear stretching with the minimum and maximum output pixel values as the endpoints of the histogram.

  • Stretch.HistEqualize: Apply non-linear contrast stretching, where the values are distributed within the bit depth range.

  • Correction.Gamma: Gamma transform.

  • Correction.Log: Logarithmic transformation.

  • Correction.Sigmoid: S-shaped curve function transformation.

System interaction (osf)

  • GetPath: Get all folder and file paths that satisfy the condition under the target path or path collection.

  • Zip: Compress all files and folders to be a .Zip file.

  • UnZip: Unzip the. Zip file.

  • DateSeries: Construct a date series.

  • Modify.Rename: Change the original file (folder) name to a new name.

  • Modify.Replace: Replace the string in the original file (folder) name as the new file (folder) name.

  • Modify.Intercept: Intercept part of the string in the file (folder) name as the new file (folder) name.

  • MultiThreading: Create multiple threads to realize the synchronous execution of multiple parameters of the same function.

Space miscellaneous calculation (smc)

  • CALArea: Calculate the area of the polygon formed by the input multipoint.

  • CALDistance: Calculate the distance between two or more input points.

  • TRANCoordinate: Transform the coordinates of the input point to the coordinates of the target coordinate system.

  • Interpolate.IDW: Spatial interpolation of point data based on inverse distance weight method.

  • Interpolate.NaturalNeighbor: Spatial interpolation of point data based on natural neighbor method.

  • Interpolate.BSpline: Spatial interpolation of point data based on B-spline method.

  • Interpolate.Kriging: Spatial interpolation of point data based on ordinary or universal kriging method.

  • Interpolate.Trend: Spatial interpolation of point data based on trend method.

Raster analysis (raa)

  • DEM.Roughness: Calculate roughness from any supported DEM raster file.

  • DEM.HillShade: Calculate hill shade from any supported DEM raster file.

  • DEM.Slope: Calculate slope from any supported DEM raster file.

  • DEM.Aspect: Calculate aspect from any supported DEM raster file.

  • DEM.TRI: Calculate terrain ruggedness index from any supported DEM raster file.

  • DEM.TPI: Calculate topographic position index from any supported DEM raster file.

  • Kernel.Aggregate: Raster aggregation.

  • Kernel.GeneralFilter: Apply a general filter to a raster.

  • Kernel.GaussFilter: Apply a gaussian filter to a raster.

  • Extraction.Isopleth: Generate a smooth curve formed by connecting points with equal quantity index values.

  • Extraction.Reclassify: Reclassifies (or changes) the values in a raster.

Raster processing (rasp)

  • BandSynthesis: Combine single-band files into a multi-band file.

  • BandDecomposition: Split (or extract) a multi-band file into single-band files.

  • Clip: Clip the raster by the vector boundary.

  • ToOtherFormat: Convert the raster format to another.

  • Mosaic: Combine multiple raster datasets into a new raster dataset.

  • Resample: Change the spatial resolution of raster.

  • Reproject: Project a raster from one coordinate system to another.

  • ChangeDataType: Change the data type of the raster.

  • MultiSDSToTif: Extract multidimensional data with subdatasets into single-band GTiff files.

  • ToVector: Convert a raster file to a vector file.

  • WriteRaster: Save the numpy array as a raster.

  • GenerateOVR: Construct .ovr raster pyramids for GTiff files, or compulsorily construct .ovr pyramids for other types of raster format.

  • OrthophotoCorrection: Orthorectify the image based on rational polynomial coefficients (RPC).

  • Deformation: Complete one or more functions of mosaic-cutting-resampling-reprojection-format conversion.

  • Fusion.Pansharpen: Fusion of panchromatic and multispectral images based on Pansharpen method.

  • AddColorTable: Add color table to the raster file.

  • SplitImage: Split an image into smaller images (slices) of a specific number of rows and columns.

Vector processing (vesp)

  • ChangeGeometryType: Change the geometric type of the input vector.

  • Split: Split each feature in a vector file into a single vector file.

  • Check: Check the validity of each vector feature.

  • ToRaster: Convert a vector file to a raster file

  • Clip: Use vector to clip vector.

  • Erase: Remove the intersecting part of the second vector from the first vector.

  • Intersection: Take the intersection of two vectors.

  • Union: Take the union of two vectors.

  • Update: Update one vector with another.

  • ToOtherFormat: Convert the vector format to another.

  • Reproject: Project a vector from one coordinate system to another.

  • SymDifference: Take the part where two vectors do not intersect.

  • Simplify: Simplify features in the vector.

  • FixGeometry: Fix invalid geometric features in the vector.

Other

  • Open: Open a vector or raster file.

Thanks

Thank you for giving me encouragement, classmates, colleagues and friends all the way. Because of your existence, we have more power to complete. We will not list the personnel here, but we still sincerely thank you.

Due to the limited level, there will be more or less problems in the function. Looking forward to your feedback and corrections.

More functions will be added later. We hope you can provide valuable comments.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

gma-1.1.3-cp311-cp311-win_amd64.whl (4.2 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

gma-1.1.3-cp311-cp311-manylinux1_x86_64.whl (5.1 MB view hashes)

Uploaded CPython 3.11

gma-1.1.3-cp310-cp310-win_amd64.whl (4.3 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

gma-1.1.3-cp310-cp310-manylinux1_x86_64.whl (5.1 MB view hashes)

Uploaded CPython 3.10

gma-1.1.3-cp39-cp39-win_amd64.whl (4.4 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

gma-1.1.3-cp39-cp39-manylinux1_x86_64.whl (5.2 MB view hashes)

Uploaded CPython 3.9

gma-1.1.3-cp38-cp38-win_amd64.whl (4.3 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page