wellio.js
wellio.js copied to clipboard
Possible problem with wellio.loadLAS("well.LAS")
It looks like maybe wellio.loadLAS() has a problem when used on front-end in browser.
Couldn't get it to run without problem and looks like the demo page always uses ajax to load the file in the demo...so not sure if new problem or just missed it due to that?
We did make a change recently to get it to run well with REACT, so maybe problem from that?
Made examples here: https://github.com/JustinGOSSES/wellio-playground Some explanation in README
Maybe would be easier to just recommend people use AJAX to load files if they aren't using webpack or browserify to bundle everything? That would avoid the problems with detecting fs and other options that work for loading files in each possible situation?
As shown in https://justingosses.github.io/wellio-playground/demo_noBrowserifyWithTimeOutCrutch/ live example and repo in https://github.com/JustinGOSSES/wellio-playground/tree/main/demo_noBrowserifyWithTimeOutCrutch
This is a low priority issue as using wellio.js works, just not in an older manner of using ajax. Not a blocker really for anyone. Should fix at some point for completeness.