-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NcmlReader.mergeNcml with groups
Ensure reference group is passed into readGroup when using NcmlReader.mergeNcml, and make sure the reference group information is taken into account by the readGroup code. Fixes #1403
- Loading branch information
1 parent
5e5b339
commit df89e71
Showing
4 changed files
with
73 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2" | ||
location="nc/example.nc"> | ||
<group name="outer_group"> | ||
<attribute name="new_outer_attr" value="new_outer_attr_value" /> | ||
<variable name="lat"> | ||
<attribute name="new_lat_attr" value="new_lat_attr_value" /> | ||
</variable> | ||
<group name="inner_group"> | ||
<attribute name="new_inner_attr" value="new_inner_attr_value" /> | ||
<variable name="lon"> | ||
<attribute name="new_lon_attr" value="new_lon_attr_value" /> | ||
</variable> | ||
</group> | ||
</group> | ||
</netcdf> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters