grdl 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. grdl-0.1.0/LICENSE +21 -0
  2. grdl-0.1.0/PKG-INFO +699 -0
  3. grdl-0.1.0/README.md +627 -0
  4. grdl-0.1.0/grdl/IO/__init__.py +327 -0
  5. grdl-0.1.0/grdl/IO/base.py +401 -0
  6. grdl-0.1.0/grdl/IO/eo/__init__.py +149 -0
  7. grdl-0.1.0/grdl/IO/eo/_backend.py +41 -0
  8. grdl-0.1.0/grdl/IO/eo/sentinel2.py +398 -0
  9. grdl-0.1.0/grdl/IO/geotiff.py +383 -0
  10. grdl-0.1.0/grdl/IO/hdf5.py +586 -0
  11. grdl-0.1.0/grdl/IO/ir/__init__.py +108 -0
  12. grdl-0.1.0/grdl/IO/ir/_backend.py +41 -0
  13. grdl-0.1.0/grdl/IO/ir/aster.py +485 -0
  14. grdl-0.1.0/grdl/IO/jpeg2000.py +427 -0
  15. grdl-0.1.0/grdl/IO/models/__init__.py +327 -0
  16. grdl-0.1.0/grdl/IO/models/aster.py +119 -0
  17. grdl-0.1.0/grdl/IO/models/base.py +298 -0
  18. grdl-0.1.0/grdl/IO/models/biomass.py +112 -0
  19. grdl-0.1.0/grdl/IO/models/common.py +158 -0
  20. grdl-0.1.0/grdl/IO/models/cphd.py +653 -0
  21. grdl-0.1.0/grdl/IO/models/sentinel1_slc.py +463 -0
  22. grdl-0.1.0/grdl/IO/models/sentinel2.py +114 -0
  23. grdl-0.1.0/grdl/IO/models/sicd.py +1245 -0
  24. grdl-0.1.0/grdl/IO/models/sidd.py +890 -0
  25. grdl-0.1.0/grdl/IO/models/terrasar.py +383 -0
  26. grdl-0.1.0/grdl/IO/models/viirs.py +128 -0
  27. grdl-0.1.0/grdl/IO/multispectral/__init__.py +111 -0
  28. grdl-0.1.0/grdl/IO/multispectral/_backend.py +48 -0
  29. grdl-0.1.0/grdl/IO/multispectral/viirs.py +513 -0
  30. grdl-0.1.0/grdl/IO/nitf.py +393 -0
  31. grdl-0.1.0/grdl/IO/numpy_io.py +160 -0
  32. grdl-0.1.0/grdl/IO/png.py +158 -0
  33. grdl-0.1.0/grdl/IO/sar/__init__.py +193 -0
  34. grdl-0.1.0/grdl/IO/sar/_backend.py +93 -0
  35. grdl-0.1.0/grdl/IO/sar/biomass.py +504 -0
  36. grdl-0.1.0/grdl/IO/sar/biomass_catalog.py +852 -0
  37. grdl-0.1.0/grdl/IO/sar/cphd.py +920 -0
  38. grdl-0.1.0/grdl/IO/sar/crsd.py +217 -0
  39. grdl-0.1.0/grdl/IO/sar/sentinel1_slc.py +910 -0
  40. grdl-0.1.0/grdl/IO/sar/sicd.py +1588 -0
  41. grdl-0.1.0/grdl/IO/sar/sicd_writer.py +399 -0
  42. grdl-0.1.0/grdl/IO/sar/sidd.py +731 -0
  43. grdl-0.1.0/grdl/IO/sar/terrasar.py +1060 -0
  44. grdl-0.1.0/grdl/__init__.py +91 -0
  45. grdl-0.1.0/grdl/coregistration/__init__.py +70 -0
  46. grdl-0.1.0/grdl/coregistration/affine.py +193 -0
  47. grdl-0.1.0/grdl/coregistration/base.py +262 -0
  48. grdl-0.1.0/grdl/coregistration/feature_match.py +381 -0
  49. grdl-0.1.0/grdl/coregistration/projective.py +242 -0
  50. grdl-0.1.0/grdl/coregistration/utils.py +266 -0
  51. grdl-0.1.0/grdl/data_prep/__init__.py +74 -0
  52. grdl-0.1.0/grdl/data_prep/base.py +229 -0
  53. grdl-0.1.0/grdl/data_prep/chip_extractor.py +263 -0
  54. grdl-0.1.0/grdl/data_prep/normalizer.py +352 -0
  55. grdl-0.1.0/grdl/data_prep/tiler.py +172 -0
  56. grdl-0.1.0/grdl/example/IO/HDF5/load_earthdata.py +508 -0
  57. grdl-0.1.0/grdl/example/IO/eo/view_sentinel2.py +244 -0
  58. grdl-0.1.0/grdl/example/IO/sar/view_sicd.py +238 -0
  59. grdl-0.1.0/grdl/example/catalog/discover_and_download.py +228 -0
  60. grdl-0.1.0/grdl/example/catalog/view_product.py +408 -0
  61. grdl-0.1.0/grdl/example/geolocation/geolocation_overlay.py +473 -0
  62. grdl-0.1.0/grdl/example/image_processing/filtering/phase_gradient.py +288 -0
  63. grdl-0.1.0/grdl/example/image_processing/sar/detection_workflow/csi_detect_workflow.py +302 -0
  64. grdl-0.1.0/grdl/example/image_processing/sar/dump_cphd_metadata.py +378 -0
  65. grdl-0.1.0/grdl/example/image_processing/sar/ffbp_stripmap_example.py +346 -0
  66. grdl-0.1.0/grdl/example/image_processing/sar/ifp_example.py +404 -0
  67. grdl-0.1.0/grdl/example/image_processing/sar/rda_stripmap_example.py +421 -0
  68. grdl-0.1.0/grdl/example/image_processing/sar/stripmap_ifp_example.py +359 -0
  69. grdl-0.1.0/grdl/example/image_processing/sar/sublook_compare.py +386 -0
  70. grdl-0.1.0/grdl/example/interpolation/lfm_polyphase.py +293 -0
  71. grdl-0.1.0/grdl/example/interpolation/polyphaseinterpolation.py +247 -0
  72. grdl-0.1.0/grdl/example/ortho/ortho_biomass.py +455 -0
  73. grdl-0.1.0/grdl/example/ortho/ortho_sicd.py +363 -0
  74. grdl-0.1.0/grdl/exceptions.py +63 -0
  75. grdl-0.1.0/grdl/geolocation/__init__.py +87 -0
  76. grdl-0.1.0/grdl/geolocation/base.py +544 -0
  77. grdl-0.1.0/grdl/geolocation/elevation/__init__.py +80 -0
  78. grdl-0.1.0/grdl/geolocation/elevation/_backend.py +55 -0
  79. grdl-0.1.0/grdl/geolocation/elevation/base.py +220 -0
  80. grdl-0.1.0/grdl/geolocation/elevation/constant.py +87 -0
  81. grdl-0.1.0/grdl/geolocation/elevation/dted.py +330 -0
  82. grdl-0.1.0/grdl/geolocation/elevation/geoid.py +408 -0
  83. grdl-0.1.0/grdl/geolocation/elevation/geotiff_dem.py +214 -0
  84. grdl-0.1.0/grdl/geolocation/eo/__init__.py +32 -0
  85. grdl-0.1.0/grdl/geolocation/eo/_backend.py +79 -0
  86. grdl-0.1.0/grdl/geolocation/eo/affine.py +325 -0
  87. grdl-0.1.0/grdl/geolocation/sar/__init__.py +36 -0
  88. grdl-0.1.0/grdl/geolocation/sar/_backend.py +84 -0
  89. grdl-0.1.0/grdl/geolocation/sar/gcp.py +317 -0
  90. grdl-0.1.0/grdl/geolocation/sar/sentinel1_slc.py +266 -0
  91. grdl-0.1.0/grdl/geolocation/sar/sicd.py +482 -0
  92. grdl-0.1.0/grdl/geolocation/utils.py +310 -0
  93. grdl-0.1.0/grdl/image_processing/__init__.py +268 -0
  94. grdl-0.1.0/grdl/image_processing/base.py +526 -0
  95. grdl-0.1.0/grdl/image_processing/decomposition/__init__.py +54 -0
  96. grdl-0.1.0/grdl/image_processing/decomposition/base.py +363 -0
  97. grdl-0.1.0/grdl/image_processing/decomposition/dual_pol_halpha.py +303 -0
  98. grdl-0.1.0/grdl/image_processing/decomposition/pauli.py +253 -0
  99. grdl-0.1.0/grdl/image_processing/detection/__init__.py +100 -0
  100. grdl-0.1.0/grdl/image_processing/detection/base.py +149 -0
  101. grdl-0.1.0/grdl/image_processing/detection/cfar/__init__.py +49 -0
  102. grdl-0.1.0/grdl/image_processing/detection/cfar/_base.py +541 -0
  103. grdl-0.1.0/grdl/image_processing/detection/cfar/_validation.py +102 -0
  104. grdl-0.1.0/grdl/image_processing/detection/cfar/ca_cfar.py +121 -0
  105. grdl-0.1.0/grdl/image_processing/detection/cfar/go_cfar.py +123 -0
  106. grdl-0.1.0/grdl/image_processing/detection/cfar/os_cfar.py +179 -0
  107. grdl-0.1.0/grdl/image_processing/detection/cfar/so_cfar.py +123 -0
  108. grdl-0.1.0/grdl/image_processing/detection/fields.py +326 -0
  109. grdl-0.1.0/grdl/image_processing/detection/models.py +242 -0
  110. grdl-0.1.0/grdl/image_processing/filters/__init__.py +69 -0
  111. grdl-0.1.0/grdl/image_processing/filters/_validation.py +81 -0
  112. grdl-0.1.0/grdl/image_processing/filters/linear.py +191 -0
  113. grdl-0.1.0/grdl/image_processing/filters/phase.py +213 -0
  114. grdl-0.1.0/grdl/image_processing/filters/rank.py +231 -0
  115. grdl-0.1.0/grdl/image_processing/filters/speckle.py +336 -0
  116. grdl-0.1.0/grdl/image_processing/filters/statistical.py +121 -0
  117. grdl-0.1.0/grdl/image_processing/intensity.py +153 -0
  118. grdl-0.1.0/grdl/image_processing/ortho/__init__.py +70 -0
  119. grdl-0.1.0/grdl/image_processing/ortho/ortho.py +798 -0
  120. grdl-0.1.0/grdl/image_processing/ortho/ortho_pipeline.py +670 -0
  121. grdl-0.1.0/grdl/image_processing/ortho/resolution.py +296 -0
  122. grdl-0.1.0/grdl/image_processing/params.py +412 -0
  123. grdl-0.1.0/grdl/image_processing/pipeline.py +137 -0
  124. grdl-0.1.0/grdl/image_processing/sar/__init__.py +119 -0
  125. grdl-0.1.0/grdl/image_processing/sar/csi.py +357 -0
  126. grdl-0.1.0/grdl/image_processing/sar/image_formation/__init__.py +72 -0
  127. grdl-0.1.0/grdl/image_processing/sar/image_formation/base.py +86 -0
  128. grdl-0.1.0/grdl/image_processing/sar/image_formation/ffbp.py +1158 -0
  129. grdl-0.1.0/grdl/image_processing/sar/image_formation/geometry.py +484 -0
  130. grdl-0.1.0/grdl/image_processing/sar/image_formation/pfa.py +435 -0
  131. grdl-0.1.0/grdl/image_processing/sar/image_formation/polar_grid.py +384 -0
  132. grdl-0.1.0/grdl/image_processing/sar/image_formation/rda.py +1662 -0
  133. grdl-0.1.0/grdl/image_processing/sar/image_formation/stripmap_pfa.py +503 -0
  134. grdl-0.1.0/grdl/image_processing/sar/image_formation/subaperture.py +206 -0
  135. grdl-0.1.0/grdl/image_processing/sar/multilook.py +761 -0
  136. grdl-0.1.0/grdl/image_processing/sar/sublook.py +634 -0
  137. grdl-0.1.0/grdl/image_processing/versioning.py +318 -0
  138. grdl-0.1.0/grdl/interpolation/__init__.py +82 -0
  139. grdl-0.1.0/grdl/interpolation/base.py +180 -0
  140. grdl-0.1.0/grdl/interpolation/farrow.py +444 -0
  141. grdl-0.1.0/grdl/interpolation/lagrange.py +302 -0
  142. grdl-0.1.0/grdl/interpolation/lanczos.py +92 -0
  143. grdl-0.1.0/grdl/interpolation/polyphase.py +684 -0
  144. grdl-0.1.0/grdl/interpolation/thiran.py +395 -0
  145. grdl-0.1.0/grdl/interpolation/windowed_sinc.py +354 -0
  146. grdl-0.1.0/grdl/py.typed +0 -0
  147. grdl-0.1.0/grdl/transforms/__init__.py +55 -0
  148. grdl-0.1.0/grdl/transforms/detection.py +293 -0
  149. grdl-0.1.0/grdl/vocabulary.py +188 -0
  150. grdl-0.1.0/grdl.egg-info/PKG-INFO +699 -0
  151. grdl-0.1.0/grdl.egg-info/SOURCES.txt +211 -0
  152. grdl-0.1.0/grdl.egg-info/dependency_links.txt +1 -0
  153. grdl-0.1.0/grdl.egg-info/requires.txt +59 -0
  154. grdl-0.1.0/grdl.egg-info/top_level.txt +1 -0
  155. grdl-0.1.0/pyproject.toml +124 -0
  156. grdl-0.1.0/setup.cfg +4 -0
  157. grdl-0.1.0/tests/test_benchmarks.py +83 -0
  158. grdl-0.1.0/tests/test_coregistration.py +384 -0
  159. grdl-0.1.0/tests/test_coregistration_feature_match.py +310 -0
  160. grdl-0.1.0/tests/test_data_prep_chip_extractor.py +311 -0
  161. grdl-0.1.0/tests/test_data_prep_normalizer.py +317 -0
  162. grdl-0.1.0/tests/test_data_prep_tiler.py +214 -0
  163. grdl-0.1.0/tests/test_execute_protocol.py +296 -0
  164. grdl-0.1.0/tests/test_geolocation_affine.py +349 -0
  165. grdl-0.1.0/tests/test_geolocation_biomass.py +592 -0
  166. grdl-0.1.0/tests/test_geolocation_elevation.py +261 -0
  167. grdl-0.1.0/tests/test_geolocation_sentinel1_slc.py +309 -0
  168. grdl-0.1.0/tests/test_geolocation_sicd.py +430 -0
  169. grdl-0.1.0/tests/test_globalprocessor_decorator.py +256 -0
  170. grdl-0.1.0/tests/test_image_formation_interpolation.py +268 -0
  171. grdl-0.1.0/tests/test_image_processing_decomposition.py +426 -0
  172. grdl-0.1.0/tests/test_image_processing_decomposition_dual_pol.py +269 -0
  173. grdl-0.1.0/tests/test_image_processing_detection.py +534 -0
  174. grdl-0.1.0/tests/test_image_processing_detection_cfar.py +387 -0
  175. grdl-0.1.0/tests/test_image_processing_filters.py +638 -0
  176. grdl-0.1.0/tests/test_image_processing_intensity.py +144 -0
  177. grdl-0.1.0/tests/test_image_processing_ortho.py +508 -0
  178. grdl-0.1.0/tests/test_image_processing_sar_ifp.py +1689 -0
  179. grdl-0.1.0/tests/test_image_processing_sar_multilook.py +610 -0
  180. grdl-0.1.0/tests/test_image_processing_sar_sublook.py +441 -0
  181. grdl-0.1.0/tests/test_image_processing_tunable.py +695 -0
  182. grdl-0.1.0/tests/test_image_processing_versioning.py +479 -0
  183. grdl-0.1.0/tests/test_integration.py +318 -0
  184. grdl-0.1.0/tests/test_interpolation.py +288 -0
  185. grdl-0.1.0/tests/test_interpolation_lagrange_farrow_thiran.py +583 -0
  186. grdl-0.1.0/tests/test_interpolation_polyphase.py +529 -0
  187. grdl-0.1.0/tests/test_io_biomass.py +712 -0
  188. grdl-0.1.0/tests/test_io_geotiff.py +230 -0
  189. grdl-0.1.0/tests/test_io_geotiff_writer.py +240 -0
  190. grdl-0.1.0/tests/test_io_hdf5.py +388 -0
  191. grdl-0.1.0/tests/test_io_hdf5_writer.py +225 -0
  192. grdl-0.1.0/tests/test_io_imports.py +83 -0
  193. grdl-0.1.0/tests/test_io_ir_readers.py +380 -0
  194. grdl-0.1.0/tests/test_io_jpeg2000.py +396 -0
  195. grdl-0.1.0/tests/test_io_models.py +829 -0
  196. grdl-0.1.0/tests/test_io_multispectral_readers.py +425 -0
  197. grdl-0.1.0/tests/test_io_nitf.py +186 -0
  198. grdl-0.1.0/tests/test_io_nitf_writer.py +237 -0
  199. grdl-0.1.0/tests/test_io_numpy_writer.py +171 -0
  200. grdl-0.1.0/tests/test_io_png_writer.py +167 -0
  201. grdl-0.1.0/tests/test_io_sar_backend.py +89 -0
  202. grdl-0.1.0/tests/test_io_sar_readers.py +126 -0
  203. grdl-0.1.0/tests/test_io_sentinel1_slc.py +764 -0
  204. grdl-0.1.0/tests/test_io_sentinel2.py +466 -0
  205. grdl-0.1.0/tests/test_io_terrasar.py +958 -0
  206. grdl-0.1.0/tests/test_io_write_convenience.py +217 -0
  207. grdl-0.1.0/tests/test_io_writer_registry.py +115 -0
  208. grdl-0.1.0/tests/test_ortho_pipeline.py +457 -0
  209. grdl-0.1.0/tests/test_ortho_resolution.py +256 -0
  210. grdl-0.1.0/tests/test_ortho_tiled.py +476 -0
  211. grdl-0.1.0/tests/test_processor_tags_phases.py +150 -0
  212. grdl-0.1.0/tests/test_transforms_detection.py +514 -0
  213. grdl-0.1.0/tests/test_vocabulary_phases.py +123 -0
grdl-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 geoint.org
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.