-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix renaming a dimension in an aggregations (#1333)
* Remove before/after steps in test * Add tests for aggregations with a renamed dimension * Fix renamed dimension in aggregations where refGroup may be null
- Loading branch information
Showing
4 changed files
with
85 additions
and
37 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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"> | ||
|
||
<dimension name="newTime" orgName="time"/> | ||
<variable name="newTime" orgName="time" /> | ||
<variable name="newTime" shape="newTime" /> | ||
<variable name="P" shape="newTime lat lon" /> | ||
<variable name="T" shape="newTime lat lon" /> | ||
|
||
<aggregation dimName="time" type="joinExisting"> | ||
<netcdf location="nc/jan.nc"/> | ||
<netcdf location="nc/feb.nc"/> | ||
</aggregation> | ||
</netcdf> |
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,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"> | ||
|
||
<dimension name="newTime" orgName="time"/> | ||
<variable name="newTime" orgName="time" /> | ||
<variable name="newTime" shape="newTime" /> | ||
<variable name="P" shape="newTime lat lon" /> | ||
<variable name="T" shape="newTime lat lon" /> | ||
|
||
<aggregation dimName="time" type="joinExisting"> | ||
<scan location="nc/" regExp="^(jan.nc|feb.nc)$"/> | ||
</aggregation> | ||
</netcdf> |
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