rslearn 0.0.15__py3-none-any.whl → 0.0.17__py3-none-any.whl

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 (50) hide show
  1. rslearn/config/__init__.py +2 -10
  2. rslearn/config/dataset.py +420 -420
  3. rslearn/data_sources/__init__.py +8 -31
  4. rslearn/data_sources/aws_landsat.py +13 -24
  5. rslearn/data_sources/aws_open_data.py +21 -46
  6. rslearn/data_sources/aws_sentinel1.py +3 -14
  7. rslearn/data_sources/climate_data_store.py +21 -40
  8. rslearn/data_sources/copernicus.py +30 -91
  9. rslearn/data_sources/data_source.py +26 -0
  10. rslearn/data_sources/earthdaily.py +13 -38
  11. rslearn/data_sources/earthdata_srtm.py +14 -32
  12. rslearn/data_sources/eurocrops.py +5 -9
  13. rslearn/data_sources/gcp_public_data.py +46 -43
  14. rslearn/data_sources/google_earth_engine.py +31 -44
  15. rslearn/data_sources/local_files.py +91 -100
  16. rslearn/data_sources/openstreetmap.py +21 -51
  17. rslearn/data_sources/planet.py +12 -30
  18. rslearn/data_sources/planet_basemap.py +4 -25
  19. rslearn/data_sources/planetary_computer.py +58 -141
  20. rslearn/data_sources/usda_cdl.py +15 -26
  21. rslearn/data_sources/usgs_landsat.py +4 -29
  22. rslearn/data_sources/utils.py +9 -0
  23. rslearn/data_sources/worldcereal.py +47 -54
  24. rslearn/data_sources/worldcover.py +16 -14
  25. rslearn/data_sources/worldpop.py +15 -18
  26. rslearn/data_sources/xyz_tiles.py +11 -30
  27. rslearn/dataset/dataset.py +6 -6
  28. rslearn/dataset/manage.py +14 -20
  29. rslearn/dataset/materialize.py +9 -45
  30. rslearn/lightning_cli.py +377 -1
  31. rslearn/main.py +3 -3
  32. rslearn/models/concatenate_features.py +93 -0
  33. rslearn/models/olmoearth_pretrain/model.py +2 -5
  34. rslearn/tile_stores/__init__.py +0 -11
  35. rslearn/train/dataset.py +4 -12
  36. rslearn/train/prediction_writer.py +16 -32
  37. rslearn/train/tasks/classification.py +2 -1
  38. rslearn/utils/fsspec.py +20 -0
  39. rslearn/utils/jsonargparse.py +79 -0
  40. rslearn/utils/raster_format.py +1 -41
  41. rslearn/utils/vector_format.py +1 -38
  42. {rslearn-0.0.15.dist-info → rslearn-0.0.17.dist-info}/METADATA +58 -25
  43. {rslearn-0.0.15.dist-info → rslearn-0.0.17.dist-info}/RECORD +48 -49
  44. rslearn/data_sources/geotiff.py +0 -1
  45. rslearn/data_sources/raster_source.py +0 -23
  46. {rslearn-0.0.15.dist-info → rslearn-0.0.17.dist-info}/WHEEL +0 -0
  47. {rslearn-0.0.15.dist-info → rslearn-0.0.17.dist-info}/entry_points.txt +0 -0
  48. {rslearn-0.0.15.dist-info → rslearn-0.0.17.dist-info}/licenses/LICENSE +0 -0
  49. {rslearn-0.0.15.dist-info → rslearn-0.0.17.dist-info}/licenses/NOTICE +0 -0
  50. {rslearn-0.0.15.dist-info → rslearn-0.0.17.dist-info}/top_level.txt +0 -0
@@ -3,33 +3,25 @@
3
3
  from .dataset import (
4
4
  BandSetConfig,
5
5
  CompositingMethod,
6
+ DatasetConfig,
6
7
  DataSourceConfig,
7
8
  DType,
8
9
  LayerConfig,
9
10
  LayerType,
10
11
  QueryConfig,
11
- RasterFormatConfig,
12
- RasterLayerConfig,
13
12
  SpaceMode,
14
13
  TimeMode,
15
- VectorFormatConfig,
16
- VectorLayerConfig,
17
- load_layer_config,
18
14
  )
19
15
 
20
16
  __all__ = [
21
17
  "BandSetConfig",
22
18
  "CompositingMethod",
19
+ "DatasetConfig",
23
20
  "DataSourceConfig",
24
21
  "DType",
25
22
  "LayerConfig",
26
23
  "LayerType",
27
24
  "QueryConfig",
28
- "RasterFormatConfig",
29
- "RasterLayerConfig",
30
25
  "SpaceMode",
31
26
  "TimeMode",
32
- "VectorFormatConfig",
33
- "VectorLayerConfig",
34
- "load_layer_config",
35
27
  ]