diff --git a/.gitignore b/.gitignore index d2f5b15..4768feb 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ model/pretrained/* .vscode .DS_Store *__pycache__/ +.conda/* +.conda-win/* diff --git a/data/test-demo/T49QGF_20191017_6Bands_Urban_Subs_water.tif b/data/test-demo/T49QGF_20191017_6Bands_Urban_Subs_water.tif deleted file mode 100644 index 38d402c..0000000 Binary files a/data/test-demo/T49QGF_20191017_6Bands_Urban_Subs_water.tif and /dev/null differ diff --git a/data/test-demo/T49QGF_20191017_6Bands_Urban_Subs.tif b/data/test-demo/subset_1_of_subset_0_of_S2A_MSIL2A_20220405T031541_N0400_R118_T48QZK_20220405T071815_resampled.tif similarity index 60% rename from data/test-demo/T49QGF_20191017_6Bands_Urban_Subs.tif rename to data/test-demo/subset_1_of_subset_0_of_S2A_MSIL2A_20220405T031541_N0400_R118_T48QZK_20220405T071815_resampled.tif index 5083a32..c8b5722 100644 Binary files a/data/test-demo/T49QGF_20191017_6Bands_Urban_Subs.tif and b/data/test-demo/subset_1_of_subset_0_of_S2A_MSIL2A_20220405T031541_N0400_R118_T48QZK_20220405T071815_resampled.tif differ diff --git a/environment-gpu.yml b/environment-gpu.yml new file mode 100644 index 0000000..3e12131 --- /dev/null +++ b/environment-gpu.yml @@ -0,0 +1,166 @@ +name: icesat-2 +channels: + - defaults + - conda-forge + - https://repo.anaconda.com/pkgs/main + - https://repo.anaconda.com/pkgs/r +dependencies: + - _libgcc_mutex=0.1=conda_forge + - _openmp_mutex=4.5=2_gnu + - bzip2=1.0.8=h4bc722e_7 + - c-ares=1.34.3=hb9d3cd8_1 + - ca-certificates=2024.11.26=h06a4308_0 + - cairo=1.16.0=h9f066cc_1006 + - cfitsio=3.470=hb418390_7 + - cuda-version=11.2=h62310cc_3 + - cudatoolkit=11.2.2=hc23eb0c_13 + - cudnn=8.9.2.26=cuda11_0 + - curl=7.87.0=h6312ad2_0 + - cycler=0.11.0=pyhd8ed1ab_0 + - expat=2.6.4=h5888daf_0 + - fontconfig=2.14.2=h14ed4e7_0 + - freetype=2.12.1=h267a509_2 + - freexl=1.0.6=h166bdaf_1 + - gdal=3.2.1=py36h5adf297_0 + - geos=3.8.1=he1b5a44_0 + - geotiff=1.6.0=h5d11630_3 + - gettext=0.19.8.1=h0b5b191_1005 + - giflib=5.2.2=hd590300_0 + - glib=2.68.4=h9c3ff4c_0 + - glib-tools=2.68.4=h9c3ff4c_0 + - hdf4=4.2.15=h9772cbc_5 + - hdf5=1.10.6=nompi_h6a2412b_1114 + - icu=67.1=he1b5a44_0 + - joblib=1.2.0=pyhd8ed1ab_0 + - jpeg=9e=h0b41bf4_3 + - json-c=0.13.1=hbfbb72e_1002 + - kealib=1.4.14=hcc255d8_2 + - keyutils=1.6.1=h166bdaf_0 + - kiwisolver=1.3.1=py36h605e78d_1 + - krb5=1.20.1=hf9c8cef_0 + - ld_impl_linux-64=2.43=h712a8e2_2 + - libblas=3.9.0=20_linux64_openblas + - libboost-headers=1.86.0=ha770c72_3 + - libcblas=3.9.0=20_linux64_openblas + - libcurl=7.87.0=h6312ad2_0 + - libdap4=3.20.6=hd7c4107_2 + - libedit=3.1.20191231=he28a2e2_2 + - libev=4.33=hd590300_2 + - libexpat=2.6.4=h5888daf_0 + - libffi=3.3=h58526e2_2 + - libgcc=14.2.0=h77fa898_1 + - libgcc-ng=14.2.0=h69a702a_1 + - libgdal=3.2.1=h2812452_0 + - libgfortran=14.2.0=h69a702a_1 + - libgfortran-ng=14.2.0=h69a702a_1 + - libgfortran5=14.2.0=hd5240d6_1 + - libglib=2.68.4=h3e27bee_0 + - libgomp=14.2.0=h77fa898_1 + - libiconv=1.17=hd590300_2 + - libkml=1.3.0=h01aab08_1018 + - liblapack=3.9.0=20_linux64_openblas + - liblzma=5.6.3=hb9d3cd8_1 + - liblzma-devel=5.6.3=hb9d3cd8_1 + - libnetcdf=4.7.4=nompi_h56d31a8_107 + - libnghttp2=1.51.0=hdcd2b5c_0 + - libopenblas=0.3.25=pthreads_h413a1c8_0 + - libpng=1.6.43=h2797004_0 + - libpq=12.15=h37d81fd_1 + - librttopo=1.1.0=hb271727_4 + - libspatialite=5.0.1=h6ec7341_0 + - libsqlite=3.46.0=hde9e2c9_0 + - libssh2=1.10.0=haa6b8db_3 + - libstdcxx=14.2.0=hc0a3c3a_1 + - libstdcxx-ng=14.2.0=h4852527_1 + - libtiff=4.2.0=hbd63e13_2 + - libuuid=2.38.1=h0b41bf4_0 + - libwebp-base=1.4.0=hd590300_0 + - libxcb=1.17.0=h8a09558_0 + - libxml2=2.9.10=h68273f3_2 + - libzlib=1.2.13=h4ab18f5_6 + - lz4-c=1.9.3=h9c3ff4c_1 + - matplotlib=3.2.2=1 + - matplotlib-base=3.2.2=py36h5fdd944_1 + - ncurses=6.5=he02047a_1 + - numpy=1.19.5=py36h2aa4a07_1 + - openjpeg=2.3.1=hf7af979_3 + - openssl=1.1.1w=h7f8727e_0 + - pandas=1.1.5=py36h284efc9_0 + - pcre=8.45=h9c3ff4c_0 + - pip=21.3.1=pyhd8ed1ab_0 + - pixman=0.44.2=h29eaf8c_0 + - poppler=0.89.0=h669c267_1 + - poppler-data=0.4.12=hd8ed1ab_0 + - postgresql=12.15=h16c4e8d_1 + - proj=7.1.1=h966b41f_3 + - pthread-stubs=0.4=hb9d3cd8_1002 + - pyparsing=3.1.4=pyhd8ed1ab_0 + - python=3.6.13=hffdb5ce_0_cpython + - python-dateutil=2.8.2=pyhd8ed1ab_0 + - python_abi=3.6=2_cp36m + - pytz=2023.3.post1=pyhd8ed1ab_0 + - readline=8.2=h8228510_1 + - scikit-learn=0.24.2=py36h2fdd933_0 + - scipy=1.5.3=py36h9e8f40b_0 + - setuptools=58.0.4=py36h5fab9bb_2 + - sqlite=3.46.0=h6d4b2fc_0 + - threadpoolctl=3.1.0=pyh8a188c0_0 + - tiledb=2.1.6=h91fcb0e_1 + - tk=8.6.13=noxft_h4845f30_101 + - tornado=6.1=py36h8f6f2f9_1 + - uriparser=0.9.8=hac33072_0 + - wheel=0.37.1=pyhd8ed1ab_0 + - xerces-c=3.2.3=hfe33f54_1 + - xorg-libice=1.1.1=hb9d3cd8_1 + - xorg-libsm=1.2.4=he73a12e_1 + - xorg-libx11=1.8.10=h4f16b4b_1 + - xorg-libxau=1.0.11=hb9d3cd8_1 + - xorg-libxdmcp=1.1.5=hb9d3cd8_0 + - xorg-libxext=1.3.6=hb9d3cd8_0 + - xorg-libxrender=0.9.11=hb9d3cd8_2 + - xz=5.6.3=hbcc6ac9_1 + - xz-gpl-tools=5.6.3=hbcc6ac9_1 + - xz-tools=5.6.3=hb9d3cd8_1 + - zlib=1.2.13=h4ab18f5_6 + - zstd=1.4.9=ha95c52a_0 + - pip: + - absl-py==0.15.0 + - astunparse==1.6.3 + - cached-property==1.5.2 + - cachetools==4.2.4 + - certifi==2024.8.30 + - charset-normalizer==2.0.12 + - dataclasses==0.8 + - flatbuffers==1.12 + - gast==0.4.0 + - google-auth==2.22.0 + - google-auth-oauthlib==0.4.6 + - google-pasta==0.2.0 + - grpcio==1.34.1 + - h5py==3.1.0 + - idna==3.10 + - importlib-metadata==4.8.3 + - keras-nightly==2.5.0.dev2021032900 + - keras-preprocessing==1.1.2 + - markdown==3.3.7 + - oauthlib==3.2.2 + - opt-einsum==3.3.0 + - protobuf==3.19.6 + - pyasn1==0.5.1 + - pyasn1-modules==0.3.0 + - requests==2.27.1 + - requests-oauthlib==2.0.0 + - rsa==4.9 + - six==1.15.0 + - tensorboard==2.10.1 + - tensorboard-data-server==0.6.1 + - tensorboard-plugin-wit==1.8.1 + - tensorflow==2.5.0 + - tensorflow-estimator==2.5.0 + - termcolor==1.1.0 + - typing-extensions==3.7.4.3 + - urllib3==1.26.20 + - werkzeug==2.0.3 + - wrapt==1.12.1 + - zipp==3.6.0 +prefix: /opt/conda/envs/icesat-2 diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..3cf97b3 --- /dev/null +++ b/environment.yml @@ -0,0 +1,163 @@ +name: icesat-2 +channels: + - defaults + - conda-forge + - https://repo.anaconda.com/pkgs/main + - https://repo.anaconda.com/pkgs/r +dependencies: + - _libgcc_mutex=0.1=conda_forge + - _openmp_mutex=4.5=2_gnu + - bzip2=1.0.8=h4bc722e_7 + - c-ares=1.34.3=hb9d3cd8_1 + - ca-certificates=2024.8.30=hbcca054_0 + - cairo=1.16.0=h9f066cc_1006 + - cfitsio=3.470=hb418390_7 + - curl=7.87.0=h6312ad2_0 + - cycler=0.11.0=pyhd8ed1ab_0 + - expat=2.6.4=h5888daf_0 + - fontconfig=2.14.2=h14ed4e7_0 + - freetype=2.12.1=h267a509_2 + - freexl=1.0.6=h166bdaf_1 + - gdal=3.2.1=py36h5adf297_0 + - geos=3.8.1=he1b5a44_0 + - geotiff=1.6.0=h5d11630_3 + - gettext=0.19.8.1=h0b5b191_1005 + - giflib=5.2.2=hd590300_0 + - glib=2.68.4=h9c3ff4c_0 + - glib-tools=2.68.4=h9c3ff4c_0 + - hdf4=4.2.15=h9772cbc_5 + - hdf5=1.10.6=nompi_h6a2412b_1114 + - icu=67.1=he1b5a44_0 + - joblib=1.2.0=pyhd8ed1ab_0 + - jpeg=9e=h0b41bf4_3 + - json-c=0.13.1=hbfbb72e_1002 + - kealib=1.4.14=hcc255d8_2 + - keyutils=1.6.1=h166bdaf_0 + - kiwisolver=1.3.1=py36h605e78d_1 + - krb5=1.20.1=hf9c8cef_0 + - ld_impl_linux-64=2.43=h712a8e2_2 + - libblas=3.9.0=20_linux64_openblas + - libboost-headers=1.86.0=ha770c72_3 + - libcblas=3.9.0=20_linux64_openblas + - libcurl=7.87.0=h6312ad2_0 + - libdap4=3.20.6=hd7c4107_2 + - libedit=3.1.20191231=he28a2e2_2 + - libev=4.33=hd590300_2 + - libexpat=2.6.4=h5888daf_0 + - libffi=3.3=h58526e2_2 + - libgcc=14.2.0=h77fa898_1 + - libgcc-ng=14.2.0=h69a702a_1 + - libgdal=3.2.1=h2812452_0 + - libgfortran=14.2.0=h69a702a_1 + - libgfortran-ng=14.2.0=h69a702a_1 + - libgfortran5=14.2.0=hd5240d6_1 + - libglib=2.68.4=h3e27bee_0 + - libgomp=14.2.0=h77fa898_1 + - libiconv=1.17=hd590300_2 + - libkml=1.3.0=h01aab08_1018 + - liblapack=3.9.0=20_linux64_openblas + - liblzma=5.6.3=hb9d3cd8_1 + - liblzma-devel=5.6.3=hb9d3cd8_1 + - libnetcdf=4.7.4=nompi_h56d31a8_107 + - libnghttp2=1.51.0=hdcd2b5c_0 + - libopenblas=0.3.25=pthreads_h413a1c8_0 + - libpng=1.6.43=h2797004_0 + - libpq=12.15=h37d81fd_1 + - librttopo=1.1.0=hb271727_4 + - libspatialite=5.0.1=h6ec7341_0 + - libsqlite=3.46.0=hde9e2c9_0 + - libssh2=1.10.0=haa6b8db_3 + - libstdcxx=14.2.0=hc0a3c3a_1 + - libstdcxx-ng=14.2.0=h4852527_1 + - libtiff=4.2.0=hbd63e13_2 + - libuuid=2.38.1=h0b41bf4_0 + - libwebp-base=1.4.0=hd590300_0 + - libxcb=1.17.0=h8a09558_0 + - libxml2=2.9.10=h68273f3_2 + - libzlib=1.2.13=h4ab18f5_6 + - lz4-c=1.9.3=h9c3ff4c_1 + - matplotlib=3.2.2=1 + - matplotlib-base=3.2.2=py36h5fdd944_1 + - ncurses=6.5=he02047a_1 + - numpy=1.19.5=py36h2aa4a07_1 + - openjpeg=2.3.1=hf7af979_3 + - openssl=1.1.1w=hd590300_0 + - pandas=1.1.5=py36h284efc9_0 + - pcre=8.45=h9c3ff4c_0 + - pip=21.3.1=pyhd8ed1ab_0 + - pixman=0.44.2=h29eaf8c_0 + - poppler=0.89.0=h669c267_1 + - poppler-data=0.4.12=hd8ed1ab_0 + - postgresql=12.15=h16c4e8d_1 + - proj=7.1.1=h966b41f_3 + - pthread-stubs=0.4=hb9d3cd8_1002 + - pyparsing=3.1.4=pyhd8ed1ab_0 + - python=3.6.13=hffdb5ce_0_cpython + - python-dateutil=2.8.2=pyhd8ed1ab_0 + - python_abi=3.6=2_cp36m + - pytz=2023.3.post1=pyhd8ed1ab_0 + - readline=8.2=h8228510_1 + - scikit-learn=0.24.2=py36h2fdd933_0 + - scipy=1.5.3=py36h9e8f40b_0 + - setuptools=58.0.4=py36h5fab9bb_2 + - sqlite=3.46.0=h6d4b2fc_0 + - threadpoolctl=3.1.0=pyh8a188c0_0 + - tiledb=2.1.6=h91fcb0e_1 + - tk=8.6.13=noxft_h4845f30_101 + - tornado=6.1=py36h8f6f2f9_1 + - uriparser=0.9.8=hac33072_0 + - wheel=0.37.1=pyhd8ed1ab_0 + - xerces-c=3.2.3=hfe33f54_1 + - xorg-libice=1.1.1=hb9d3cd8_1 + - xorg-libsm=1.2.4=he73a12e_1 + - xorg-libx11=1.8.10=h4f16b4b_1 + - xorg-libxau=1.0.11=hb9d3cd8_1 + - xorg-libxdmcp=1.1.5=hb9d3cd8_0 + - xorg-libxext=1.3.6=hb9d3cd8_0 + - xorg-libxrender=0.9.11=hb9d3cd8_2 + - xz=5.6.3=hbcc6ac9_1 + - xz-gpl-tools=5.6.3=hbcc6ac9_1 + - xz-tools=5.6.3=hb9d3cd8_1 + - zlib=1.2.13=h4ab18f5_6 + - zstd=1.4.9=ha95c52a_0 + - pip: + - absl-py==0.15.0 + - astunparse==1.6.3 + - cached-property==1.5.2 + - cachetools==4.2.4 + - certifi==2024.8.30 + - charset-normalizer==2.0.12 + - dataclasses==0.8 + - flatbuffers==1.12 + - gast==0.4.0 + - google-auth==2.22.0 + - google-auth-oauthlib==0.4.6 + - google-pasta==0.2.0 + - grpcio==1.34.1 + - h5py==3.1.0 + - idna==3.10 + - importlib-metadata==4.8.3 + - keras-nightly==2.5.0.dev2021032900 + - keras-preprocessing==1.1.2 + - markdown==3.3.7 + - oauthlib==3.2.2 + - opt-einsum==3.3.0 + - protobuf==3.19.6 + - pyasn1==0.5.1 + - pyasn1-modules==0.3.0 + - requests==2.27.1 + - requests-oauthlib==2.0.0 + - rsa==4.9 + - six==1.15.0 + - tensorboard==2.10.1 + - tensorboard-data-server==0.6.1 + - tensorboard-plugin-wit==1.8.1 + - tensorflow==2.5.0 + - tensorflow-estimator==2.5.0 + - termcolor==1.1.0 + - typing-extensions==3.7.4.3 + - urllib3==1.26.20 + - werkzeug==2.0.3 + - wrapt==1.12.1 + - zipp==3.6.0 +prefix: /opt/conda/envs/icesat-2 diff --git a/environmental.yml b/environmental.yml deleted file mode 100644 index 83abadd..0000000 --- a/environmental.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: venv-tf -channels: - - conda-forge - - defaults -dependencies: - - gdal=3.2.1=py36h5adf297_0 - - geos=3.8.1=he1b5a44_0 - - geotiff=1.6.0=h5d11630_3 - - gettext=0.19.8.1=h0b5b191_1005 - - matplotlib=3.2.2=1 - - numpy=1.19.5=py36h2aa4a07_1 - - pandas=1.1.5=py36h284efc9_0 - - proj=7.1.1=h966b41f_3 - - python=3.6.13=hffdb5ce_0_cpython - - scikit-learn=0.24.2=py36h2fdd933_0 - - scipy=1.5.3=py36h9e8f40b_0 - - six=1.16.0=pyh6c4a22f_0 - - pip: - - tensorflow==2.5.0 -prefix: /home/yons/miniconda3/envs/venv-tf