Skip to content
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

DAS-2232 - Functionality added to support SMAP L3 products #15

Closed
wants to merge 41 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
79b4c3f
DAS-2232 Initial commit for SMAP L3 spatial subset changes
sudha-murthy Sep 9, 2024
789cc6b
corrections from pre-commit checks
sudha-murthy Sep 9, 2024
c4abf26
DAS-2232 - updates to correct unit test failures
sudha-murthy Sep 9, 2024
be280f0
DAS-2232 updates for unit test failures
sudha-murthy Sep 10, 2024
2a48f93
DAS-2232 - all unit tests pass
sudha-murthy Sep 10, 2024
2c93a4b
DAS-2232 updates to version number
sudha-murthy Sep 10, 2024
dfb1e15
DAS-2232 - updated notebook version due to Synk vulnerability. Also r…
sudha-murthy Sep 10, 2024
e2ff61f
DAS-2232 fixed spatial subsetting bugs introduced when removing dupli…
sudha-murthy Sep 13, 2024
756f7c0
DAS-2232 initial commit after PR feedback
sudha-murthy Sep 26, 2024
53f1660
DAS-2232 - fixed get_variable_crs and a few minor corrections
sudha-murthy Sep 26, 2024
f9f5e8b
DAS-2232 - comments updated for the get_spatial_index_ranges method
sudha-murthy Sep 26, 2024
f836ee6
DAS-2232 simplified get_spatial_index_ranges method
sudha-murthy Sep 26, 2024
c35c8ee
DAS-2232 - changed override to coordinates and dimension_file to dime…
sudha-murthy Sep 26, 2024
ffe035a
DAS-2232 - updates to CHANGELOG.md
sudha-murthy Sep 26, 2024
9c9f190
DAS-2232 - PR feedback update - to detrmine if latitude is ascending …
sudha-murthy Sep 27, 2024
7eda980
DAS-2232 - added get_x_y_index_ranges_from_coordinates as a separate …
sudha-murthy Oct 1, 2024
f07b544
DAS-2232 - fixed assumption of top left origin
sudha-murthy Oct 1, 2024
3b453e5
DAS=2232 - some refactoring
sudha-murthy Oct 1, 2024
681b20d
DAS-2232 - updates to hoss_config.json description fields
sudha-murthy Oct 1, 2024
5d609c9
DAS-2232 - updated the names for required_dimensions to required_vari…
sudha-murthy Oct 1, 2024
91c51c0
DAS-2232 - added exception if one of the coordinate datasets are missing
sudha-murthy Oct 1, 2024
2296a35
DAS-2232 - updated CHANGELOG.md
sudha-murthy Oct 1, 2024
2efc4c7
DAS-2232 - small bug fix in get_override_projection_dimension_name
sudha-murthy Oct 1, 2024
f628166
DAS-2232 - updates to comments
sudha-murthy Oct 1, 2024
ebac2a0
DAS-2232 - added check for fillvalue
sudha-murthy Oct 2, 2024
3b6d605
DAS-2232 - comments and minor changes
sudha-murthy Oct 2, 2024
802fe0e
DAS-2232 - simplified get_coordinate_variables based on PR feedback
sudha-murthy Oct 3, 2024
60fb22a
DAS-2232 - added method to check for variables with no dimensions
sudha-murthy Oct 3, 2024
631dc24
DAS-2232 - added unittest for get_variable_crs
sudha-murthy Oct 3, 2024
1e7bc35
DAS-2232 - added a module to contain coordinate methods
sudha-murthy Oct 4, 2024
36e15c7
DAS-2232 - moved new methods to a separate file
sudha-murthy Oct 4, 2024
5c5eb85
DAS-2232 - removed accidental checkin of an incomplete unit test
sudha-murthy Oct 4, 2024
80c2fb2
DAS-2232 - added unit test for the new method - get_x_y_index_ranges_…
sudha-murthy Oct 7, 2024
30eccd0
DAS-2232 - added unit test for the new method - get_x_y_index_ranges_…
sudha-murthy Oct 8, 2024
16872b7
DAS-2232 - added some unit tests and some bug fixes
sudha-murthy Oct 10, 2024
822758f
DAS-2232 - added some unit tests and some bug fixes
sudha-murthy Oct 10, 2024
7883465
DAS-2232 - minor initialization fix
sudha-murthy Oct 10, 2024
dd98e81
DAS-2232 - added unit test for get_valid_indices
sudha-murthy Oct 10, 2024
de350b6
DAS-2232 - replaced get_geo_grid_corners method to get 2 valid geo gr…
sudha-murthy Oct 16, 2024
0666248
DAS-2232 - minor name from dataset to variable
sudha-murthy Oct 16, 2024
e07099a
DAS-2232 - added unit tests
sudha-murthy Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## v1.1.0
### 2024-09-10

This version of HOSS provides support for gridded products that do not contain CF-Convention
compliant grid mapping variables and 1-D dimension variables, such as SMAP L3.
New methods are added to retrieve dimension scales from coordinate attributes and grid mappings, using
overrides specified in the hoss_config.json configuration file.
- `get_coordinate_variables` gets coordinate datasets when the dimension scales are not present in
the source file. The prefetch gets the coordinate datasets during prefetch when the dimension
scales are not present.
- `update_dimension_variables` function checks the dimensionality of the coordinate datasets.
It then gets a row and column from the 2D datasets to 1D and uses the crs attribute to get
the projection of the granule to convert the lat/lon array to projected x-y dimension scales.
- `get_override_projected_dimensions` provides the projected dimension scale names after the
conversion.
- `get_variable_crs` method is also updated to handle cases where the grid mapping variable
does not exist in the granule and an override is provided in an updated
hoss_config.json


## v1.0.5
### 2024-08-19
Expand Down
2 changes: 1 addition & 1 deletion docker/service_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.5
1.1.0
owenlittlejohns marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
#
harmony-py~=0.4.10
netCDF4~=1.6.4
notebook~=7.0.4
notebook~=7.2.2
xarray~=2023.9.0
Loading