Skip to content

Commit

Permalink
Merge pull request GESS-research-group#100 from abhimhamane/89-pip-co…
Browse files Browse the repository at this point in the history
…mpatibility

89 pip compatibility
  • Loading branch information
abhimhamane authored Jan 20, 2024
2 parents 7dce12b + 843d0ff commit 492953e
Show file tree
Hide file tree
Showing 20 changed files with 140 additions and 51 deletions.
21 changes: 4 additions & 17 deletions notebooks/validation_pyshbundle.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"id": "b244d043-7498-4e8a-a638-b9d0703a5755",
"metadata": {},
"outputs": [
Expand All @@ -58,19 +58,6 @@
"text": [
"Initializing PySHbundle v0.0.1\n"
]
},
{
"ename": "ImportError",
"evalue": "cannot import name 'GSGS' from 'pyshbundle.gshs' (/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/pyshbundle/gshs.py)",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mImportError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[2], line 7\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[38;5;66;03m# import proplot\u001b[39;00m\n\u001b[1;32m 6\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mos\u001b[39;00m\n\u001b[0;32m----> 7\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\n",
"File \u001b[0;32m/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/pyshbundle/__init__.py:84\u001b[0m\n\u001b[1;32m 82\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01meigengrav\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m eigengrav\n\u001b[1;32m 83\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgaussian\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Gaussian\n\u001b[0;32m---> 84\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mGRACE_Data_Driven_Correction_Vishwakarma\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m deg_to_rad, GRACE_Data_Driven_Correction_Vishwakarma\n\u001b[1;32m 85\u001b[0m \u001b[38;5;66;03m# from .GRACEconstants import \u001b[39;00m\n\u001b[1;32m 86\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mGRACEpy\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m upwcon, lovenr, lovenrPREM\n",
"File \u001b[0;32m/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/pyshbundle/GRACE_Data_Driven_Correction_Vishwakarma.py:71\u001b[0m\n\u001b[1;32m 69\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgaussian\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Gaussian\n\u001b[1;32m 70\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mcs2sc\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m cs2sc\n\u001b[0;32m---> 71\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgshs\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m GSGS\n\u001b[1;32m 72\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgsha\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m gsha\n\u001b[1;32m 73\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mnaninterp\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m naninterp\n",
"\u001b[0;31mImportError\u001b[0m: cannot import name 'GSGS' from 'pyshbundle.gshs' (/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/pyshbundle/gshs.py)"
]
}
],
"source": [
Expand All @@ -85,7 +72,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"id": "a07fc51a-4640-4f03-a2e2-d65fc8da751b",
"metadata": {
"tags": []
Expand All @@ -95,11 +82,11 @@
"''' Load tws processed data from shbundle as .mat file & from pyshbundle as xarray dataset '''\n",
"import scipy.io\n",
"# Load the .mat file\n",
"data = scipy.io.loadmat('/Users/vivek/Desktop/vivek_desktop/vivek_git/pyshbundle/tws_m/tws_m.mat')\n",
"data = scipy.io.loadmat('/media/abhishek/DATA/projects/prod_fork/pyshbundle/pyshbundle/validation_data/tws_m.mat')\n",
"# Access the variables in the .mat file\n",
"var1 = data['tws_m']\n",
"\n",
"temp=xr.open_dataset('/Users/vivek/Desktop/vivek_desktop/vivek_git/pyshbundle/pyshbundle/tws_py.nc', engine=\"netcdf4\")\n",
"temp=xr.open_dataset('/media/abhishek/DATA/projects/prod_fork/pyshbundle/pyshbundle/validation_data/tws_py.nc', engine=\"netcdf4\")\n",
"var2=temp.tws.values"
]
},
Expand Down
62 changes: 28 additions & 34 deletions notebooks/visualizations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,6 @@
"text": [
"Initializing PySHbundle v0.0.1\n"
]
},
{
"ename": "ImportError",
"evalue": "cannot import name 'GSGS' from 'pyshbundle.gshs' (/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/pyshbundle/gshs.py)",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mImportError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[1], line 10\u001b[0m\n\u001b[1;32m 8\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mpandas\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mpd\u001b[39;00m\n\u001b[1;32m 9\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mxarray\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mxr\u001b[39;00m\n\u001b[0;32m---> 10\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\n",
"File \u001b[0;32m/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/pyshbundle/__init__.py:84\u001b[0m\n\u001b[1;32m 82\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01meigengrav\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m eigengrav\n\u001b[1;32m 83\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgaussian\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Gaussian\n\u001b[0;32m---> 84\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mGRACE_Data_Driven_Correction_Vishwakarma\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m deg_to_rad, GRACE_Data_Driven_Correction_Vishwakarma\n\u001b[1;32m 85\u001b[0m \u001b[38;5;66;03m# from .GRACEconstants import \u001b[39;00m\n\u001b[1;32m 86\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mGRACEpy\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m upwcon, lovenr, lovenrPREM\n",
"File \u001b[0;32m/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/pyshbundle/GRACE_Data_Driven_Correction_Vishwakarma.py:71\u001b[0m\n\u001b[1;32m 69\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgaussian\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Gaussian\n\u001b[1;32m 70\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mcs2sc\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m cs2sc\n\u001b[0;32m---> 71\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgshs\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m GSGS\n\u001b[1;32m 72\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgsha\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m gsha\n\u001b[1;32m 73\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mpyshbundle\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mnaninterp\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m naninterp\n",
"\u001b[0;31mImportError\u001b[0m: cannot import name 'GSGS' from 'pyshbundle.gshs' (/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/pyshbundle/gshs.py)"
]
}
],
"source": [
Expand All @@ -61,7 +48,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -76,7 +63,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -243,14 +230,14 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 15,
"metadata": {},
"outputs": [],
"source": [
"from pyshbundle.normalklm import normalklm\n",
"from pyshbundle.visualisation_utils import gshs_prepare\n",
"# load long term mean\n",
"long_mean_itsg = '/media/abhishek/DATA/pyshbundle/pyshbundle/data/long_mean/SH_long_mean_itsg.npy'\n",
"long_mean_itsg = '/media/abhishek/DATA/projects/prod_fork/pyshbundle/pyshbundle/data/long_mean/SH_long_mean_itsg.npy'\n",
"SH_long_mean_itsg = np.load(long_mean_itsg)\n",
"\n",
"\n",
Expand All @@ -262,7 +249,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 16,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -272,7 +259,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -282,7 +269,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 18,
"metadata": {},
"outputs": [
{
Expand All @@ -292,15 +279,15 @@
" <GeoAxes: title={'center': 'Long Term Field'}, xlabel='Longitude', ylabel='Latitude'>)"
]
},
"execution_count": 17,
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/media/abhishek/DATA/projects/pysh_test/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py:535: UserWarning: Casting input data from float128 to float64 for imshow.\n",
"/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/cartopy/mpl/geoaxes.py:535: UserWarning: Casting input data from float128 to float64 for imshow.\n",
" return super().draw(renderer=renderer, **kwargs)\n"
]
},
Expand Down Expand Up @@ -329,7 +316,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 19,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -339,7 +326,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": 20,
"metadata": {},
"outputs": [
{
Expand All @@ -349,15 +336,15 @@
" <GeoAxes: title={'center': 'Normal Gravity Field - WGS84 Ellipsoid'}, xlabel='Longitude', ylabel='Latitude'>)"
]
},
"execution_count": 19,
"execution_count": 20,
"metadata": {},
"output_type": "execute_result"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/media/abhishek/DATA/projects/pysh_test/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py:535: UserWarning: Casting input data from float128 to float64 for imshow.\n",
"/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/cartopy/mpl/geoaxes.py:535: UserWarning: Casting input data from float128 to float64 for imshow.\n",
" return super().draw(renderer=renderer, **kwargs)\n"
]
},
Expand Down Expand Up @@ -385,7 +372,7 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 21,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -394,7 +381,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 22,
"metadata": {},
"outputs": [
{
Expand All @@ -404,15 +391,15 @@
" <GeoAxes: title={'center': 'Temporal Gravity Field'}, xlabel='Longitude', ylabel='Latitude'>)"
]
},
"execution_count": 21,
"execution_count": 22,
"metadata": {},
"output_type": "execute_result"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/media/abhishek/DATA/projects/pysh_test/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py:535: UserWarning: Casting input data from float128 to float64 for imshow.\n",
"/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/cartopy/mpl/geoaxes.py:535: UserWarning: Casting input data from float128 to float64 for imshow.\n",
" return super().draw(renderer=renderer, **kwargs)\n"
]
},
Expand Down Expand Up @@ -440,7 +427,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 23,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -451,7 +438,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 24,
"metadata": {},
"outputs": [
{
Expand All @@ -461,15 +448,15 @@
" <GeoAxes: title={'center': 'Gravity Anomalies with Vertical Stripe Noise'}, xlabel='Longitude', ylabel='Latitude'>)"
]
},
"execution_count": 23,
"execution_count": 24,
"metadata": {},
"output_type": "execute_result"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/media/abhishek/DATA/projects/pysh_test/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py:535: UserWarning: Casting input data from float128 to float64 for imshow.\n",
"/media/abhishek/DATA/projects/pysh_new/lib/python3.11/site-packages/cartopy/mpl/geoaxes.py:535: UserWarning: Casting input data from float128 to float64 for imshow.\n",
" return super().draw(renderer=renderer, **kwargs)\n"
]
},
Expand All @@ -488,6 +475,13 @@
"mapfield(field=grav_anom_field, img_extent=(-180, 180, -90, 90), title=\"Gravity Anomalies with Vertical Stripe Noise\", colorbar_bounds=None)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
1 change: 1 addition & 0 deletions pyshbundle/data/basin_shapefiles/amazon_basin.cpg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UTF-8
Binary file added pyshbundle/data/basin_shapefiles/amazon_basin.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions pyshbundle/data/basin_shapefiles/amazon_basin.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
28 changes: 28 additions & 0 deletions pyshbundle/data/basin_shapefiles/amazon_basin.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis version="3.22.4-Białowieża">
<identifier>Major_Basins_of_the_World</identifier>
<parentidentifier></parentidentifier>
<language>ENG</language>
<type>dataset</type>
<title>Major_Basins_of_the_World</title>
<abstract></abstract>
<links/>
<fees></fees>
<encoding></encoding>
<crs>
<spatialrefsys>
<wkt>GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]]</wkt>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>EPSG:7030</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</crs>
<extent>
<spatial maxy="72.96962700000000268" miny="-54.46997799999999756" dimensions="2" crs="EPSG:4326" minx="-164.68080100000000243" maxx="169.29290800000001127" maxz="0" minz="0"/>
</extent>
</qgis>
Binary file added pyshbundle/data/basin_shapefiles/amazon_basin.shp
Binary file not shown.
Binary file added pyshbundle/data/basin_shapefiles/amazon_basin.shx
Binary file not shown.
1 change: 1 addition & 0 deletions pyshbundle/data/basin_shapefiles/ganga_basin.cpg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UTF-8
Binary file added pyshbundle/data/basin_shapefiles/ganga_basin.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions pyshbundle/data/basin_shapefiles/ganga_basin.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
37 changes: 37 additions & 0 deletions pyshbundle/data/basin_shapefiles/ganga_basin.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis version="3.22.4-Białowieża">
<identifier>HydroBASINS Asia, Level 4, Version 1.c - Sub-basins in standard format (without lakes)</identifier>
<parentidentifier></parentidentifier>
<language></language>
<type>dataset</type>
<title>HydroBASINS Asia, Level 4, Version 1.c - Sub-basins in standard format (without lakes)</title>
<abstract>All HydroBASINS layers were derived from World Wildlife Fund’s HydroSHEDS data based on a grid resolution of 15 arc-seconds (approximately 500 m at the equator). Watersheds were delineated in a consistent manner at different scales, and a hierarchical sub-basin breakdown was created following the topological concept of the Pfafstetter coding system. The resulting polygon layers are termed HydroBASINS and represent a subset of the HydroSHEDS database. This shapefile contains (sub-)basin polygons for Asia at Pfafstetter level 4.

HydroBASINS data provides a series of polygon layers that depict watershed boundaries and sub-basin delineations at a global scale. The goal of this product is to provide a seamless global coverage of consistently sized and hierarchically nested sub-basins at different scales (from tens to millions of square kilometers), supported by a coding scheme that allows for analysis of watershed topology such as up- and downstream connectivity.</abstract>
<keywords vocabulary="Search keys">
<keyword>HydroBASINS</keyword>
<keyword>HydrSHEDS</keyword>
</keywords>
<links/>
<fees></fees>
<constraints type="Limitations of use">HydroBASINS is covered by the same License Agreement as the HydroSHEDS database, which is available at http://www.hydrosheds.org. For all regulations regarding license grants, copyright, redistribution restrictions, required attributions, disclaimer of warranty, indemnification, liability, waiver of damages, and a precise definition of licensed materials, please refer to the License Agreement. By downloading and using the data the user agrees to the terms and conditions of the License Agreement.</constraints>
<rights>The HydroBASINS product has been developed on behalf of World Wildlife Fund US (WWF), with support and in collaboration with the EU BioFresh project, Berlin, Germany; the International Union for Conservation of Nature (IUCN), Cambridge, UK; and McGill University, Montreal, Canada. We kindly ask users to cite HydroBASINS in any published material produced using the data. If possible, online links to the HydroSHEDS website (http://www.hydrosheds.org) should be provided. Citations and acknowledgements of the HydroBASINS data should be made as follows: Lehner, B., Grill G. (2013): Global river hydrography and network routing: baseline data and new approaches to study the world’s large river systems. Hydrological Processes, 27(15): 2171–2186. Data is available at www.hydrosheds.org.&#xd;
</rights>
<encoding></encoding>
<crs>
<spatialrefsys>
<wkt></wkt>
<proj4></proj4>
<srsid>0</srsid>
<srid>0</srid>
<authid></authid>
<description></description>
<projectionacronym></projectionacronym>
<ellipsoidacronym></ellipsoidacronym>
<geographicflag>false</geographicflag>
</spatialrefsys>
</crs>
<extent>
<spatial maxy="56" miny="1" dimensions="2" crs="EPSG:4326" minx="57" maxx="151" maxz="0" minz="0"/>
</extent>
</qgis>
Binary file added pyshbundle/data/basin_shapefiles/ganga_basin.shp
Binary file not shown.
Binary file added pyshbundle/data/basin_shapefiles/ganga_basin.shx
Binary file not shown.
1 change: 1 addition & 0 deletions pyshbundle/data/basin_shapefiles/krishna_basin.cpg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UTF-8
Binary file added pyshbundle/data/basin_shapefiles/krishna_basin.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions pyshbundle/data/basin_shapefiles/krishna_basin.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
Loading

0 comments on commit 492953e

Please sign in to comment.