GeostatsGuy / GeostatsPy

GeostatsPy Python package for spatial data analytics and geostatistics. Started as a reimplementation of GSLIB, Geostatistical Library (Deutsch and Journel, 1992) from Fortran to Python, Geostatistics in a Python package. Now with many additional methods. I hope this resources is helpful, Prof. Michael Pyrcz
https://pypi.org/project/geostatspy/
MIT License
479 stars 183 forks source link

gamv.out is not generated [Ubuntu 18.04] #26

Closed farliz closed 4 years ago

farliz commented 4 years ago

Hi, When I execute GSLIB.gamv_2d following error appears: FileNotFoundError: [Errno 2] No such file or directory: 'gamv.out'

The path of the executables of the GSLIB library is given at the first line. Other files gamv.par, gamv_out.dat are generated correctly.

It does not gamv.out file generated properly?

My code:

nlag= 100; lagdist=100; azi=90; atol=22.2; bstand=100

lag_p, vario_p, nppiso_p = GSLIB.gamv_2d(data, 'X', 'Y', 'SBS', nlag, lagdist, azi, atol, bstand)

GeostatsGuy commented 4 years ago

Howdy,

Please replace with the geostats.gamv command. The referenced command utilizes GSLIB gamv.exe (that must be in the working directory).

o. GSLIB.* algorithms access the FORTRAN GSLIB.

Hope this helps,

Michael

MICHAEL J. PYRCZ, Ph.D., P.Eng., Associate Professor The University of Texas at Austin | 512-471-3252 | www.pge.utexas.eduhttp://www.pge.utexas.edu/ Twitterhttps://twitter.com/GeostatsGuy (@GeostatsGuy) | LinkedInhttps://www.linkedin.com/in/michael-pyrcz-61a648a1/ | Webpagehttp://www.michaelpyrcz.com/ | Bookhttps://www.amazon.com/Geostatistical-Reservoir-Modeling-Michael-Pyrcz/dp/0199731446 | GoogleScholarhttps://scholar.google.com/citations?user=QVZ20eQAAAAJ&hl=en

From: farliz notifications@github.com Sent: Friday, May 15, 2020 8:25 AM To: GeostatsGuy/GeostatsPy GeostatsPy@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [GeostatsGuy/GeostatsPy] gamv.out is not generated [Ubuntu 18.04] (#26)

Hi, When I execute GSLIB.gamv_2d following error appears: FileNotFoundError: [Errno 2] No such file or directory: 'gamv.out'

The path of the executables of the GSLIB library is given at the first line. Other files gamv.par, gamv_out.dat are generated correctly.

It does not gamv.out file generated properly?

My code:

nlag= 100; lagdist=100; azi=90; atol=22.2; bstand=100

lag_p, vario_p, nppiso_p = GSLIB.gamv_2d(data, 'X', 'Y', 'SBS', nlag, lagdist, azi, atol, bstand)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/GeostatsGuy/GeostatsPy/issues/26, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHUO342AQDLEN4VJSBCA5DDRRU7CNANCNFSM4NBSKPWQ.

This message is from an external sender. Learn more about why this matters.https://ut.service-now.com/sp?id=kb_article&number=KB0011401

farliz commented 4 years ago

It works now! thanks

OrlandoOP commented 4 years ago

It works now! thanks

Hi Farliz,

I am struggle with this error gamv_2d. May you let me know how did you solve it, please.