Comments (10)
I too am having this problem, but only when using negative longitude or latitude. I am currently looking through the code to see if they somehow define the negative values differently or if there is a different way in shell to define negative numbers.
from straintool.
Hi there,
here is what i think the problem is: when performing computations to estimate strain tensor parameters, the input ellipsoidal coordinates are transformed to UTM coordinates. We have placed a limitation when transforming to UTM, that all stations considered should fall within the same (UTM) zone. We are currently working on removing this limitation. I will have news soon.
Xanthos
from straintool.
Hi @cysarine ,
please check the answer discussed in #68 . Let me know if that fixes the issue.
Xanthos
from straintool.
Hello @xanthospap ,
Thank you very much for your answer. I have reviewed and followed the instructions in #68 . And the software has run without any errors. However, when reviewing the strain_info.dat file the coordinates generated in degrees of lat and long do not correspond to my study area. Attached image of the file.
Hope you can help me solve this problem. Greetings
from straintool.
You are right,
i didn't correctly predict the side-effects of the change! sorry for this. I will patch this and and send a fix in the following hours.
from straintool.
i have made changes to the source code to fix the bug. Quite a few things had to be corrected, so i have created a new branch committed to the bugfix. It is called bug68.
Please pull the new branch and check if the program runs as expected. Something like git fetch; git checkout --track origin/bug68
should do the job (more info https://stackoverflow.com/questions/9537392/git-fetch-remote-branch). After the pull, you should also re-install the pystrain package (aka go to the folder StrainTool/pystrain
and execute the command sudo python setup.py install
).
Please let me know if that fixes the problem. If not, could you please share your input file so that i can further check/debug the source code?
Xanthos
from straintool.
Hello there,
I have installed the software with the corrections you made, however, the strain_info.dat file keeps giving the same error with wrong lat and long. I attach the file of my study area. Thanks for your help
from straintool.
i have made a few changes in the source code and hopefully it should now produce sensible results. I have tried issuing the command ./StrainTensor.py -i ../data/IGP_VEL.txt -r=-79.0/-75.5/-12.5/-8.5 --x-grid-step=0.5 --y-grid-step=0.5 --dmin=1 --dmax=500 --dstep=1 --Wt=24 -c -g
and it seems to produce realistic values (i attach the result file).
The changes i made are in the same branch (aka bug68), so you will need to pull the latest changes (>git pull origin bug68
) and then reinstall the pystrain package).
Please give it a try and let me know if it works as expected.
Xanthos
from straintool.
dear @cysarine ,
have you tried the new version of the software (that is pulling the branch bug68)? Does it work as expected?
Xanthos
from straintool.
Hi Xanthos,
Thanks a lot for your help, the new version of the software works for me.
Cisarine
from straintool.
Related Issues (20)
- method Veis: check and readme
- One tensor (barycenter) not working?
- [gmtplots...] bc not woring for windows
- strain.py: calculate sd of second invariant HOT 1
- magnitude of sd
- Multithreading is different between Linux and Windows HOT 1
- generate delaunay tr: more triangles than real
- generate-statistics flag
- sVn sVe must not be zero! HOT 2
- input file duplicate lines stop processing HOT 2
- No Example input file HOT 16
- multicore proc error for Windows 10 HOT 2
- Map size changes with different Wt HOT 1
- Bug with Multiple UMT zones and the veis method HOT 2
- Add the main article to the project HOT 1
- straintool HOT 1
- unable to reproduce the test HOT 4
- Problem when the grid cover the longitude 0 HOT 2
- Create a couple of validation tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from straintool.