Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
ba9305e
fix test data link
7yl4r Oct 17, 2019
06acc9c
update from @mjm8 email
7yl4r Oct 17, 2019
4813ef3
+ del ortho files once done
7yl4r Oct 17, 2019
70d7f21
+ IMaRS quickstart section
7yl4r Oct 17, 2019
bde0102
Merge branch 'master' into master
7yl4r Oct 17, 2019
2e5bf37
upload (python-version-compatible) colormap
7yl4r Oct 24, 2019
d3e7063
+ comment re column headers
7yl4r Oct 24, 2019
6fedd8c
Create .travis.yml
7yl4r Nov 1, 2019
83854bb
fix import namespacing
Nov 1, 2019
3deb459
+ pgc img utils as submodule
7yl4r Nov 9, 2019
b9dd4be
tmp disable gdal req
7yl4r Dec 3, 2019
a344c08
create NYI submit_mosaic.sh
7yl4r Dec 5, 2019
e012ed4
try using docker w/ travis
7yl4r Jan 10, 2020
a7686a6
+ boilerplate from iceberg projects
7yl4r Jan 17, 2020
0b05415
cleanup root dir
7yl4r Jan 22, 2020
e64cc73
clean up readme
7yl4r Jan 22, 2020
99be19a
fix(?) docker image name
7yl4r Jan 23, 2020
83cf859
+ tag to docker image key
7yl4r Jan 23, 2020
ddc862f
fix typo on volume req_tests
7yl4r Jan 23, 2020
f837b04
Add files via upload
mjm8 Mar 6, 2020
ecfec35
Rename wv_classify.m to wv_classify_v1.m
7yl4r Mar 6, 2020
8f091bd
Rename WV_Processing.m to wv_classify.m
7yl4r Mar 6, 2020
4bc8659
Rename wv_classify.py to wv_classify_v1.py
7yl4r Mar 6, 2020
1781bd5
Create wv_classify.py
7yl4r Mar 7, 2020
84529f0
copy module changes from @mjm8, comment out TODO
7yl4r Jun 5, 2020
8b3fb97
+ BIGTIFF_OVERVIEW
7yl4r Jun 5, 2020
a0a5b41
only run python if output file DNE
7yl4r Jun 23, 2020
24a035b
+ needed python module
7yl4r Jun 23, 2020
42557a7
only run matlab if output rrs DNE
7yl4r Jun 23, 2020
275bac3
rename output_dir1->ortho_out
7yl4r Jun 23, 2020
0660df9
better var names
7yl4r Jun 23, 2020
3773791
update wv classify function name for matlab
sebastiandig Jul 3, 2020
ab9d48b
Create troubleshooting.md
7yl4r Jul 21, 2020
8a4d3a4
upload updated colormap
7yl4r Jul 22, 2020
8eb5f71
update to Matt's latest submit script
7yl4r Jul 27, 2020
055384a
+ Habitat Class Details
7yl4r Jan 26, 2021
43d2d0f
+ matlab instruction & ln to examples folder
7yl4r Mar 19, 2021
da9643a
add example based on submit_py.sh
7yl4r Mar 19, 2021
e6270a7
Create adding_feedback.md
7yl4r Apr 11, 2022
c71f0e1
Create checklist_adding_images_to_gee.md
7yl4r May 9, 2022
77bb52e
Update checklist_adding_images_to_gee.md
7yl4r May 9, 2022
8e50cd1
Update README.md
7yl4r May 30, 2022
a752e1e
add script from luis
7yl4r Sep 30, 2022
61e971b
mv outdated files into new dir
7yl4r Sep 30, 2022
f90e3dc
+ dict metadata output option
7yl4r Sep 30, 2022
29919d1
+ CLI interface for xml reading
7yl4r Sep 30, 2022
b939b17
add additional metadata
7yl4r Sep 30, 2022
37936c2
Create gee-upload-rookery-2022-09.md
7yl4r Sep 30, 2022
6350410
improve formatting, doc. add todo for xml reading
7yl4r Oct 7, 2022
8643986
+ echo_if_test to help w/ testing
7yl4r Oct 7, 2022
5f2a05c
fix usage example. fix formatting. add filepanther usage
7yl4r Oct 7, 2022
57141e2
one more step towards filepanther usage
7yl4r Oct 7, 2022
af5fe69
now able to find the xml files
7yl4r Oct 8, 2022
6c8174c
fix xml read issues
7yl4r Oct 8, 2022
3165631
i think uploads work nw
7yl4r Oct 8, 2022
f383eae
props cannot have spaces
7yl4r Oct 8, 2022
fc00966
no quotes around props
7yl4r Oct 8, 2022
abcc539
Add files via upload
7yl4r Oct 9, 2022
cd9813d
split rookery & jobos upload scripts
7yl4r Oct 11, 2022
a2e75d3
add jobos example usage
7yl4r Oct 11, 2022
5faa938
Create gee-upload-jobos-2022-10.md
7yl4r Oct 11, 2022
8cec13a
Create index.md
7yl4r Oct 19, 2022
3a4e51a
Create README.md
7yl4r Oct 26, 2022
d3c9d60
Create gee-upload-jobos-2022-11.md
7yl4r Nov 13, 2022
8b12356
Update gee-upload-jobos-2022-11.md
7yl4r Nov 13, 2022
ac4c136
+ latest pgc code as git submodule
Nov 17, 2022
52f601a
+ install info
7yl4r Nov 17, 2022
bcee868
Create README.md
7yl4r Nov 17, 2022
11cd9a9
Merge branch 'master' of github.com:USF-IMARS/wv-land-cover
7yl4r Nov 18, 2022
613f9f1
Update gee-upload-jobos-2022-11.md
7yl4r Nov 18, 2022
b56e88c
+ digna's submission script
7yl4r Nov 23, 2022
d4b0650
+ file from digna
7yl4r Dec 2, 2022
8c676ce
update pgc submodule locations
Dec 6, 2022
e140dae
+ cd
tisayr Dec 6, 2022
d009e13
try RC's suggested modules
Dec 6, 2022
75564ac
Merge branch 'master' of github.com:USF-IMARS/wv-land-cover
Dec 6, 2022
43d5a21
+ IMaRS server script
Dec 6, 2022
4bc2e66
fix paths
Dec 6, 2022
8ed3a70
+ out-of-date notice
tisayr Dec 6, 2022
ea36d3f
update install instrructions
tisayr Dec 6, 2022
7fe330d
update install instructions
tisayr Dec 6, 2022
fd103d2
Update README.md
7yl4r Dec 6, 2022
65bf06f
made it work
Dec 6, 2022
0fc678a
Merge branch 'master' of github.com:USF-IMARS/wv-land-cover
Dec 6, 2022
80899fe
+ note about deleting
7yl4r Apr 6, 2023
7337074
try fix subitem format
7yl4r Apr 6, 2023
4156487
see if sub-numbering formats better
7yl4r Apr 6, 2023
fcdb95f
updated filepath pattern
7yl4r Apr 6, 2023
a2ee0ed
Merge branch 'master' of github.com:USF-IMARS/wv-land-cover
7yl4r Apr 6, 2023
cbc5f03
update to new filepath format
7yl4r Apr 6, 2023
eeb0e1f
Create gee-upload-jobos-2023-04.md
7yl4r Apr 6, 2023
b8e4362
+ data.collection_id change
7yl4r Apr 6, 2023
c3c6750
update filename pattern
7yl4r Jun 28, 2023
c336a47
+ note RE filepath-extracted vars
7yl4r Jun 28, 2023
985edb0
add rrs upload script (for #47)
7yl4r Aug 14, 2023
440a374
fix -p issue
7yl4r Aug 14, 2023
0577db3
+ jobos rrs script
7yl4r Sep 29, 2023
c5fdcf5
+ set up notes
7yl4r Sep 29, 2023
52b116f
Create wv02-image-compare.md
7yl4r Oct 19, 2023
dfece9c
+ note re max on x-axis
7yl4r Oct 19, 2023
ab18d15
Create transfer.sh
7yl4r Mar 25, 2025
56869e0
+ adjustedLatLon for latest
7yl4r Apr 3, 2025
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# test data
test_data/

# emacs backups
*~

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "imagery_utils"]
path = imagery_utils
url = https://github.com/PolarGeospatialCenter/imagery_utils.git
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: python
services:
- docker
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "nightly"
before_install:
- DOCKER_IMAGE=7yl4r/wv_img_proc_docker:0.0.1
- docker pull $DOCKER_IMAGE
- docker run -d $DOCKER_IMAGE
- docker ps -a
- docker run $DOCKER_IMAGE -v requirements.txt:/requirements.txt -v requirements_tests.txt:/requirements_tests.txt
install:
- docker exec $DOCKER_IMAGE pip install -r /requirements.txt
before_script:
- docker exec $DOCKER_IMAGE pip install -r /requirements_tests.txt
script:
- docker exec $DOCKER_IMAGE pytest -v -m "not testdata_required"
51 changes: 51 additions & 0 deletions 3d_wetlands/DT_Filter.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
%% DT_Filter.M
%% Written by Matt McCarthy 8/29/2016

function dt_filt = DT_Filter(file,x,sz2,sz3,dev,FW,FU,UG,WA);
filt = x;
sz_sm(1) = sz2; % Size of unwarped(smaller) file
sz_sm(2) = sz3;

fwfilt = 75
wafilt = 50
sz1 = size(file);
dt_filt =zeros(sz1(1),sz1(2),'uint8');

for a = filt+1:sz_sm(1)-filt-1; % Mode filter or median filter: 3x3 or 5x5
for b = filt+1:sz_sm(2)-filt-1;
if file(a,b) == dev;
dt_filt(a,b) = dev;
elseif file(a,b) == FW && a > fwfilt && b > fwfilt && a < sz_sm(1)-100 && b < sz_sm(2)-100; % For FW, use larger window to eliminate erroneous urban misclassifications
C = file(a-fwfilt:a+fwfilt,b-fwfilt:b+fwfilt);
idx = find(C == 0); % If any pixels in C are shadows, they are not included in the mode function
C(idx) = [];
mod = mode(mode(C)); % Mode of window (by definition, lower value is selected if more than one mode value)
if isnan(mod) == 1;
dt_filt(a,b) = 0; % If NaN, assign zero because Arc won't load DT tiffs w/ NaNs
elseif mod == FW; % Check if mode FW is actually urban tree shadow
idxfor = find(C == dev | C == FU); % Find upland forest, grass, and developed nearby
if size(idxfor,1)>0.10*size(C,1)*size(C,2); % > 10% is upland, grass, or developed
dt_filt(a,b) = FU; % Assumed to be non-wetland forest
else dt_filt(a,b) = FW;
end
else dt_filt(a,b) = FU;
end
elseif isnan(file(a,b)) == 0;
C = file(a-filt:a+filt,b-filt:b+filt);
idx = find(C == 0); % If any pixels in C are shadows, they are not included in the mode function
C(idx) = [];
mod = mode(mode(C)); % Identify most common value (if more than one value, lower value is selected automatically)
if isnan(mod) == 1; % Check if mode of box is NaN (redundancy)
dt_filt(a,b) = 0; % If NaN, assign zero (Arc won't load DT tiffs w/ NaNs)
elseif mod == FW;
D = dt_filt(a-filt:a,b-filt:b);
modD = mode(mode(D));
dt_filt(a,b) = modD;
else dt_filt(a,b) = mod; % If mod is upland, marsh, water or bare/developed, assign it as such
end
else
dt_filt(a,b) = 0;
end
end
end
end
File renamed without changes.
677 changes: 677 additions & 0 deletions 3d_wetlands/wv_classify.m

Large diffs are not rendered by default.

File renamed without changes.
Loading