-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add function to read Oasis Montaj© grd files #348
Commits on Aug 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f3be2a0 - Browse repository at this point
Copy the full SHA f3be2a0View commit details -
Add load_oasis_montaj_grid function
Add new function that reads Geosoft grids.
Configuration menu - View commit details
-
Copy full SHA for 35403cd - Browse repository at this point
Copy the full SHA 35403cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9db9ac2 - Browse repository at this point
Copy the full SHA 9db9ac2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 412d722 - Browse repository at this point
Copy the full SHA 412d722View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff47e1b - Browse repository at this point
Copy the full SHA ff47e1bView commit details
Commits on Oct 19, 2022
-
Upload test grd file and fix error (remove_dummies)
Upload test grd file fix ValueError: cannot convert float NaN to integer with datetype (int)
Configuration menu - View commit details
-
Copy full SHA for aa2a804 - Browse repository at this point
Copy the full SHA aa2a804View commit details
Commits on Nov 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6064b06 - Browse repository at this point
Copy the full SHA 6064b06View commit details -
Don't read map number nor map label
These variables usually don't have any meaningful information and they are usually not being converted to Unicode characters properly, what makes difficult to save the dataarray as a netcdf file. I think it's better to ignore it for now unless we have a good reason to include them.
Configuration menu - View commit details
-
Copy full SHA for 38625f4 - Browse repository at this point
Copy the full SHA 38625f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for eea2000 - Browse repository at this point
Copy the full SHA eea2000View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b6ea82 - Browse repository at this point
Copy the full SHA 2b6ea82View commit details -
Add a netcdf file that hosts the expected grid.
Configuration menu - View commit details
-
Copy full SHA for b6a429a - Browse repository at this point
Copy the full SHA b6a429aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52ec63f - Browse repository at this point
Copy the full SHA 52ec63fView commit details -
Save the expected netCDF grid using scipy engine
This way we avoid having to install netcdf4 for testing
Configuration menu - View commit details
-
Copy full SHA for c3ad104 - Browse repository at this point
Copy the full SHA c3ad104View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62a4734 - Browse repository at this point
Copy the full SHA 62a4734View commit details
Commits on Nov 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e16af7a - Browse repository at this point
Copy the full SHA e16af7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92135c4 - Browse repository at this point
Copy the full SHA 92135c4View commit details
Commits on Nov 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ab5d468 - Browse repository at this point
Copy the full SHA ab5d468View commit details -
Configuration menu - View commit details
-
Copy full SHA for 967d6ca - Browse repository at this point
Copy the full SHA 967d6caView commit details
Commits on Nov 15, 2022
-
Refactor _get_data_type function
Define a global variable VALID_ELEMENT_SIZES for the valid values that the ES variable can take. Compare n_bytes_per_element against ints after shifting its value if its greater than 1024 (compressed grid).
Configuration menu - View commit details
-
Copy full SHA for 3c8b6e3 - Browse repository at this point
Copy the full SHA 3c8b6e3View commit details -
Refactor decompression of grid
Move the snippet that decompresses the grid into its own function. Avoid creating numpy arrays that hold a single element for the variables in the additional header.
Configuration menu - View commit details
-
Copy full SHA for bfe9ffe - Browse repository at this point
Copy the full SHA bfe9ffeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29fe1eb - Browse repository at this point
Copy the full SHA 29fe1ebView commit details -
The previous refactor didn't worked with compressed grids with multiple blocks. Restored the compressed_blocK_sizes and block_offsets as arrays and fixed the for loop.
Configuration menu - View commit details
-
Copy full SHA for 3af3e72 - Browse repository at this point
Copy the full SHA 3af3e72View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8016d6 - Browse repository at this point
Copy the full SHA d8016d6View commit details -
Configure flake8 to ignore spaces before a colon
Flake8 complains with leaving a space before a color, what makes sense for colons that go after a statement (function definition, for loop, if, etc). But it complains about the spaces before a colon used in slicing. Black already handles the first case, so it makes sense to ignore E203.
Configuration menu - View commit details
-
Copy full SHA for 84ee1f1 - Browse repository at this point
Copy the full SHA 84ee1f1View commit details
Commits on Nov 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2444d78 - Browse repository at this point
Copy the full SHA 2444d78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96042a9 - Browse repository at this point
Copy the full SHA 96042a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66e0a4e - Browse repository at this point
Copy the full SHA 66e0a4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9c3522 - Browse repository at this point
Copy the full SHA a9c3522View commit details -
Removed unused sample grd files
Remove all the sample grids that weren't being used in the test suite.
Configuration menu - View commit details
-
Copy full SHA for cbceadf - Browse repository at this point
Copy the full SHA cbceadfView commit details -
Merge branch 'grd-oasis-montaj' of github.com:fatiando/harmonica into…
… grd-oasis-montaj
Configuration menu - View commit details
-
Copy full SHA for 09854a7 - Browse repository at this point
Copy the full SHA 09854a7View commit details
Commits on Nov 21, 2022
-
Fix bug in creation of the rotated coordinates
Use proper sin function and fix the sign of the coefficients in the rotation matrix.
Configuration menu - View commit details
-
Copy full SHA for 256b615 - Browse repository at this point
Copy the full SHA 256b615View commit details
Commits on Nov 25, 2022
-
Add missing docstring for rotation_deg parameter
Co-authored with @mdtanker
Configuration menu - View commit details
-
Copy full SHA for 53a5e23 - Browse repository at this point
Copy the full SHA 53a5e23View commit details