-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GXF Reader Implementation #538
Comments
Here is my gist with code. |
@RichardScottOZ do you have a python GXF reader hiding somewhere? |
@ThomasMGeo seems like a great thing to have in Harmonica! I don’t think I understand your reservation with going to xarray. From your gist, it seems like it would be easy to make the metadata CF-compliant and add it to a DataArray or Dataset. The main advantage is that everything else in Harmonica works with xarray and saving to another format like netCDF or Zarr is also trivial. A PR would be very welcome! Even if just to get things started. |
I will make it a data array in the PR, to just get it going. Thanks! |
Would you be able to generate a small grid in that format so we can use for unit testing? It would have to be small so we can store it directly in the repository (like <1Mb). |
No, sorry! Need a GDB reader though. Bound to have a few of the above in the archives I imagine. |
Description of the desired feature:
GXF is another Geosoft (now seequent) ASCII file format. It is found sometimes with USGS data releases like here. There is also this gist that I have found.
Are you willing to help implement and maintain this feature?
Yes! I currently have functions that work for my needs, but I think this is complimentary to the grd file reader, and should be included in Harmonica. I am happy to do a PR, or help as needed.
One design thing I am concerned about is going from a GXF directly to xarray. I had to mess with the specific examples I had by hand to 'get it right' and wondering if that is best left to the user?
The text was updated successfully, but these errors were encountered: