Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure #39

Merged
merged 210 commits into from
Apr 11, 2023
Merged
Changes from 1 commit
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
e3eb2d3
add scheme
MAfarrag Mar 3, 2023
f62daed
add resample example
MAfarrag Mar 3, 2023
532986c
finish create Raster method and test them
MAfarrag Mar 5, 2023
278ec95
finish create Raster method and test them
MAfarrag Mar 5, 2023
7ef0112
structure scheme
MAfarrag Mar 5, 2023
33461fb
update
MAfarrag Mar 5, 2023
4c282ba
migrate to raster object
MAfarrag Mar 8, 2023
af2658e
migrate to raster object
MAfarrag Mar 8, 2023
e301488
refactor
MAfarrag Mar 8, 2023
72af23c
create raster object from readASCII method
MAfarrag Mar 9, 2023
21c1a61
create raster object from readASCII method
MAfarrag Mar 9, 2023
6377a54
move the AutoIdentifyEPSG from _createSRfromProj upstream to getEPSGf…
MAfarrag Mar 9, 2023
8bd8bb5
remove readASCII, move openArrayInfo to netcdf, update ToASCII, add g…
MAfarrag Mar 12, 2023
69b1986
remove readASCII, move openArrayInfo to netcdf, update ToASCII, add g…
MAfarrag Mar 12, 2023
4dc44ca
remove readASCII, move openArrayInfo to netcdf, update ToASCII, add g…
MAfarrag Mar 12, 2023
0cc907f
update examples
MAfarrag Mar 13, 2023
c113b07
update Dataset read_separate_files
MAfarrag Mar 13, 2023
d86258f
update docs for Dataset.read_separate_files
MAfarrag Mar 13, 2023
804fbf1
update docs for Dataset.read_separate_files
MAfarrag Mar 13, 2023
8f36a15
change attribute row to rows, add metadata, subset, and variables att…
MAfarrag Mar 14, 2023
059477b
snake case methods
MAfarrag Mar 14, 2023
f749b6e
snake case methods
MAfarrag Mar 14, 2023
fd852e8
add customized errors
MAfarrag Mar 17, 2023
9c8d4ce
deprecate getRasterDetails, use snake case naming, band index starts …
MAfarrag Mar 17, 2023
8ba2020
refactor
MAfarrag Mar 17, 2023
1a84609
rename reproject method to to_epsg
MAfarrag Mar 17, 2023
3987d8c
add change_no_data_value method
MAfarrag Mar 17, 2023
5e4c73e
change open method to read
MAfarrag Mar 17, 2023
17bd33d
deprecate get_projection_data
MAfarrag Mar 17, 2023
2e49666
test read ascii folder
MAfarrag Mar 17, 2023
b956f37
refactor
MAfarrag Mar 17, 2023
4993cd1
move functions from convert module to vector module
MAfarrag Mar 17, 2023
861a38d
update methods
MAfarrag Mar 17, 2023
a74a408
move convert polygon to raster to the vector module
MAfarrag Mar 17, 2023
ee90678
move convert polygon to raster to the vector module
MAfarrag Mar 17, 2023
d9e04b8
refactor
MAfarrag Mar 18, 2023
a79166c
add count domain cells, Dataset is no longer subclass from Raster, re…
MAfarrag Mar 18, 2023
6b032ec
add count domain cells, Dataset is no longer subclass from Raster, re…
MAfarrag Mar 18, 2023
f69e268
add DatasetNoFoundError customized error
MAfarrag Mar 18, 2023
ffa1663
move interpolation methods to utils, add gdal_to_numpy_dtype function
MAfarrag Mar 19, 2023
78099f8
add create driver from scratch method, check the type of the no_data_…
MAfarrag Mar 20, 2023
025dce7
change the to_raster method to work with cell size instead of a raster
MAfarrag Mar 20, 2023
f3b03db
update tests
MAfarrag Mar 20, 2023
4f87ad4
test crop dataset
MAfarrag Mar 20, 2023
1d756be
rename sample raster to base and array to data, create properties for…
MAfarrag Mar 21, 2023
0ba2379
rename sample raster to base and array to data, create properties for…
MAfarrag Mar 21, 2023
ed93de7
remove the moved function from convert module
MAfarrag Mar 21, 2023
3059bf9
remove test_convert
MAfarrag Mar 21, 2023
a2bc5c9
add dataset match alignment
MAfarrag Mar 21, 2023
eefcdcb
add test data
MAfarrag Mar 21, 2023
8e80207
add test data
MAfarrag Mar 21, 2023
c85586f
add test data
MAfarrag Mar 21, 2023
e7425fe
add test data
MAfarrag Mar 21, 2023
99a1c63
change the path handeling in to_geotiff and to_ascii
MAfarrag Mar 21, 2023
4a01d95
add test data
MAfarrag Mar 21, 2023
9b9b0f7
apply method on dataset
MAfarrag Mar 21, 2023
a7f1083
add extract method
MAfarrag Mar 21, 2023
9edab1c
change the nearest_neighbout to magic method, refactor get_pixels, an…
MAfarrag Mar 22, 2023
7f695c6
change the crop_aligned to a magic method and make the crop method th…
MAfarrag Mar 22, 2023
b53902e
change the pivot point of the rasterized polygon based on the given i…
MAfarrag Mar 22, 2023
2ed5bd6
the _set_no_data_value will match the dtype with the nodatavalue para…
MAfarrag Mar 22, 2023
c0fd7ae
update the test polygon to raster to reflect the new pivot point
MAfarrag Mar 22, 2023
1d5e021
update the test crop with polygon to reflect the new pivot point
MAfarrag Mar 22, 2023
3edb547
test overlay method
MAfarrag Mar 22, 2023
cc4b610
add ciustomized Alignment error
MAfarrag Mar 22, 2023
676d23f
add dataset overlay method
MAfarrag Mar 22, 2023
9c7e052
convert instance attributes into properties
MAfarrag Mar 22, 2023
25d7988
read variables if there are subsets, add file_name attribute and prop…
MAfarrag Mar 23, 2023
a761cc7
add g dal driver catalog
MAfarrag Mar 24, 2023
0d23b52
move customized errors to separate module
MAfarrag Mar 26, 2023
cd41962
move customized errors to separate module and add Catalog class
MAfarrag Mar 26, 2023
b8630f5
add gdal driver catalog file
MAfarrag Mar 26, 2023
493ca58
rename Raster to Dataset, and Dataset to Datacube, add add catalog cl…
MAfarrag Mar 26, 2023
8e559a8
rename Dataset to Datacube
MAfarrag Mar 26, 2023
7b7dc78
rename Raster to Dataset
MAfarrag Mar 26, 2023
d3faaf9
rename Raster to Dataset
MAfarrag Mar 26, 2023
13ecbe6
rename Raster to Dataset
MAfarrag Mar 26, 2023
64ad23b
convert the content of each key to a dict
MAfarrag Mar 26, 2023
05dc4e6
rename Raster to Dataset
MAfarrag Mar 26, 2023
753c386
test catalog class
MAfarrag Mar 26, 2023
8488bb0
rename create_raster to create_dataset
MAfarrag Mar 26, 2023
6e73a69
change method names to have datacube instead of dataset
MAfarrag Mar 26, 2023
ab8dd10
rename to_epsg to to_crs
MAfarrag Mar 26, 2023
8aa93fd
convert get_epsg to a magic method
MAfarrag Mar 26, 2023
2f97a15
rename test folder from raster to dataset
MAfarrag Mar 26, 2023
0501188
rename test files
MAfarrag Mar 26, 2023
332b3f6
replace the proj attribute with crs
MAfarrag Mar 26, 2023
0e82b15
add a mask = None case to get_indeces2
MAfarrag Mar 26, 2023
868f024
add a mask = None case to get_indeces2
MAfarrag Mar 26, 2023
3667b5a
add get_driver_name
MAfarrag Mar 26, 2023
600cce9
add get_driver_name
MAfarrag Mar 26, 2023
480591e
rename _get_indeces2 to _get_indices2
MAfarrag Mar 26, 2023
6f3dadb
add crs and driver_type as a property, create _create_sr_from_epsg, …
MAfarrag Mar 26, 2023
ec90b27
refactor
MAfarrag Mar 26, 2023
b08ded4
refactor
MAfarrag Mar 26, 2023
f567adb
add set_crs
MAfarrag Mar 26, 2023
9c2fe8c
snake case method names
MAfarrag Mar 26, 2023
70a5943
add missing test data
MAfarrag Mar 26, 2023
ca27ce8
add src_reset_crs
MAfarrag Mar 26, 2023
ad7ac5f
add missing test data
MAfarrag Mar 26, 2023
1057016
add missing test data
MAfarrag Mar 26, 2023
583449d
update ogr drivers to look like gdal drivers
MAfarrag Mar 27, 2023
6e7ba1b
add ogr driver catalog and remove separate test_utils folder
MAfarrag Mar 27, 2023
f11c957
add separate io module
MAfarrag Mar 27, 2023
df7b8d9
add FileFormatNoSupported error for gz files with internal multi comp…
MAfarrag Mar 27, 2023
8159f66
parse and read gz, tar and zip files
MAfarrag Mar 27, 2023
32649a0
parse and read gz, tar and zip files
MAfarrag Mar 27, 2023
6af0eea
add feature and engine attributes to the vector class, rename read to…
MAfarrag Mar 27, 2023
6bee775
refactor
MAfarrag Mar 27, 2023
0cb5890
convert vector to an object
MAfarrag Mar 27, 2023
2a50518
refactor
MAfarrag Mar 27, 2023
ba0042c
refactor
MAfarrag Mar 27, 2023
ec5554a
rename vector module to feature
MAfarrag Mar 27, 2023
f570256
add inplace option to convert functions
MAfarrag Mar 27, 2023
47da0cc
replace the _gdf_to_ds with the in memory function
MAfarrag Mar 27, 2023
3da8788
rename the vector test dir to feature
MAfarrag Mar 27, 2023
23acdce
rename test_vector to test_feature
MAfarrag Mar 27, 2023
aef9e4f
ename to_raster to to_dataset
MAfarrag Mar 27, 2023
db53ec2
delete the vector written to temp after converting to ds or gdf
MAfarrag Mar 27, 2023
262205e
add comments to to_dataset
MAfarrag Mar 27, 2023
cb35242
rename catchment module to dem
MAfarrag Mar 28, 2023
de8ec90
test xy
MAfarrag Mar 28, 2023
4ecc5c0
test xy with polygons
MAfarrag Mar 28, 2023
aa78220
test _multi_geom_handler
MAfarrag Mar 28, 2023
9d01c0f
test multilinestring
MAfarrag Mar 28, 2023
6e4e813
test multipolygon xy
MAfarrag Mar 28, 2023
82fb714
remove function related to rasterio
MAfarrag Mar 28, 2023
2cfaa03
add explode function to single out geometries
MAfarrag Mar 29, 2023
ddfa117
test concate
MAfarrag Mar 29, 2023
2497590
test concate
MAfarrag Mar 29, 2023
70f5502
remove write shapefile method
MAfarrag Mar 29, 2023
3d63ffa
center point
MAfarrag Mar 29, 2023
2b9f2f5
remove data module
MAfarrag Mar 29, 2023
331aaca
add lat,y, lon, x properties
MAfarrag Mar 29, 2023
93d2ae3
add geometry collection geojson file for tests
MAfarrag Mar 29, 2023
a54d0f4
add locate values method
MAfarrag Mar 29, 2023
6cbb3bd
add locate values method
MAfarrag Mar 29, 2023
c3c1ac6
change the exclude_value parameter in extract method to take None as …
MAfarrag Mar 29, 2023
e6b9de3
change the exclude_value parameter in extract method to take None as …
MAfarrag Mar 29, 2023
dad0987
extract values from dataset based on given vector
MAfarrag Mar 29, 2023
6860dd0
change _create_empty_driver to private
MAfarrag Mar 29, 2023
2fba1af
change create_driver_from_scratch to private
MAfarrag Mar 29, 2023
31e5d58
rename _create_dataset to _create_gdal_dataset
MAfarrag Mar 29, 2023
b3f2578
rename create_dataset to create_from_array
MAfarrag Mar 29, 2023
fc62561
rename raster_like to dataset_like
MAfarrag Mar 29, 2023
4d1a6c3
change the default parameter in datacube.read_separate_files
MAfarrag Mar 31, 2023
569b012
install numpy-utils from github till it is published in pypi and cond…
MAfarrag Mar 31, 2023
4c51366
add coverage figure
MAfarrag Mar 31, 2023
506aa3e
update package schematization
MAfarrag Mar 31, 2023
14c46b6
make geopy optional package not installed with pyramids
MAfarrag Mar 31, 2023
99890e7
add test data
MAfarrag Mar 31, 2023
cea312a
if failed to identify epsg use the authority code to get epsg
MAfarrag Mar 31, 2023
0e79200
if failed to identify epsg use the authority code to get epsg
MAfarrag Mar 31, 2023
37ace34
install cleopatra
MAfarrag Mar 31, 2023
7d2ecf9
add cleopatra and plot method to Dataset
MAfarrag Mar 31, 2023
e90d3d3
correct wrong name of sample to base
MAfarrag Mar 31, 2023
91b2689
remove using tkagg
MAfarrag Mar 31, 2023
4d2ad17
add plot method for Datacube
MAfarrag Mar 31, 2023
b3f1259
create bounds method
MAfarrag Mar 31, 2023
3d201ad
add bounds property
MAfarrag Mar 31, 2023
829a50f
refactor
MAfarrag Apr 2, 2023
ac6c8b8
test read file from http request
MAfarrag Apr 2, 2023
cc6f17d
add shape parameter to dataset
MAfarrag Apr 2, 2023
a6be224
add shape parameter to dataset
MAfarrag Apr 2, 2023
aac7b69
add bbox property
MAfarrag Apr 2, 2023
8792160
add bbox property
MAfarrag Apr 2, 2023
374cb0c
move write_ascii to io
MAfarrag Apr 3, 2023
7f9bcc9
add footprint method
MAfarrag Apr 3, 2023
73bdfa9
add footprint method
MAfarrag Apr 3, 2023
d7c190b
add test data
MAfarrag Apr 3, 2023
f28900e
refactor
MAfarrag Apr 3, 2023
5b6813e
check path before reading file
MAfarrag Apr 3, 2023
de26130
add pytest config file and create vfs mark
MAfarrag Apr 3, 2023
f03fb7f
test dem
MAfarrag Apr 3, 2023
0be2c77
add test data
MAfarrag Apr 3, 2023
4d95deb
refactor
MAfarrag Apr 3, 2023
62ee44d
change the replace parameter to the footprint function to exclude_values
MAfarrag Apr 3, 2023
63c368d
refactor
MAfarrag Apr 4, 2023
310a0fc
add catalog in the setup.py as data package
MAfarrag Apr 6, 2023
d9ab39c
test flow direction table
MAfarrag Apr 8, 2023
b615fe1
correct the parameter name in plot method
MAfarrag Apr 8, 2023
52a831a
add test data
MAfarrag Apr 8, 2023
fa44f82
locate_points can take a dataframe input
MAfarrag Apr 8, 2023
745b25e
add setitem and getitem dunder method to the datacube class
MAfarrag Apr 8, 2023
6b83071
add len dunder method to the datacube class
MAfarrag Apr 8, 2023
2ecde48
add iter dunder method to datacube class
MAfarrag Apr 8, 2023
a04e2e7
add head and tail methods
MAfarrag Apr 8, 2023
d73d690
add first and last dunder method
MAfarrag Apr 8, 2023
5afbb52
add shape dunder methods
MAfarrag Apr 8, 2023
1294977
rename numpy-utils to hpc
MAfarrag Apr 9, 2023
5df19fa
update the hpc package name
MAfarrag Apr 9, 2023
6c114cf
update version
MAfarrag Apr 11, 2023
2b94376
move old modules to old folder
MAfarrag Apr 11, 2023
663746a
change parameter to to_dataset function
MAfarrag Apr 11, 2023
d5ad0aa
change parameter to to_dataset function
MAfarrag Apr 11, 2023
3c2d4b5
change parameter to to_dataset function
MAfarrag Apr 11, 2023
b1ac1e9
update dependency files
MAfarrag Apr 11, 2023
4f0c677
remove rasterio from keywords
MAfarrag Apr 11, 2023
f9446e4
add ci workflow for optional packages
MAfarrag Apr 11, 2023
86c247a
add marker for plotting tests
MAfarrag Apr 11, 2023
628cce6
add marker for plotting tests and exclude them from the ubuntu workflow
MAfarrag Apr 11, 2023
32a7156
refactor
MAfarrag Apr 11, 2023
682dfd0
update ci workflow
MAfarrag Apr 11, 2023
814c9e7
add not plot to the plot marker
MAfarrag Apr 11, 2023
683f042
add not plot to the plot marker
MAfarrag Apr 11, 2023
4f22f8e
remove the not plot
MAfarrag Apr 11, 2023
d432943
remove the -v flag
MAfarrag Apr 11, 2023
e8c3a1a
import matplotlib inside the test function not at the top of the test…
MAfarrag Apr 11, 2023
2e12646
add history
MAfarrag Apr 11, 2023
0a9f774
update readme
MAfarrag Apr 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename Raster to Dataset, and Dataset to Datacube, add add catalog cl…
…ass for drivers, merge saving data to one method to_file
  • Loading branch information
MAfarrag committed Mar 26, 2023
commit 493ca582801bc4cb698d9d7001f5a76f21ca108b
Loading