tpilz / lumpR

Landscape Unit Mapping Program for R
GNU General Public License v3.0
11 stars 12 forks source link

No match between the spatial catena and 2D catena in rstats file #55

Open allayur opened 4 years ago

allayur commented 4 years ago

While processing output from rstats and eha grid I found no match. Specifically - catena 65 is 2600 m long on eha map has 14 m height gradient and has flat hilltop (I attach isolines and eha map here, when opening isolines we use WGS 84 / UTM zone 37N coordinates are not real) . In rstats (also attached) 65s catena is steep, 1600 m long and has elevation gradient of 8m. It is confusing. Could you please help rstats_wet_gz.txt

https://drive.google.com/drive/folders/1irpFH9-sMUcML63OQ_lb6SfZHPKycUiX?usp=sharing

tpilz commented 4 years ago

sorry for late response, I was travelling. With the data it's hard to tell if and whats actually going wrong. The information in the rstats file are derived fromn the input to area2catena(), i.e. flow accumulation, distance to river, and elevation relative to river. If rstats is different to what you derive from comparing the EHA with DEM rasters, then maybe something went wrong when deriving these information, e.g. in lump_grass_prep()?

allayur commented 4 years ago

Meanwhile I realised that I need to modify Cochrane and Flanagan (2003) algorithm to derive not the "weighted mean" profile length, but something like " X weighted percentile, where X=0.75, 0.95" to fit my purpose. Could you plesase send me "tpilz/lumpR", ref = "closest_catena" as tar.gz file for futher re-compiling to allow modifications? Maybe I could load it too, but just can not realise how...sorry

tpilz commented 4 years ago

You can fork the project (click on "fork" in the upper right corner), which will create a copy of the current state of the project to your account. Then you can work with it. You can pull it with git and create a local copy on your computer and make changes, etc. In the end you commit the changes, push it to your project and if you are fine with your changes create a pull request to have your modifications merged to the official project. However, to get acquainted, should read the git manual, where you will find everything you need to know about how to work and collaborate with git/github.