Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Enforce use of shared dimensions in groups #326

Merged
merged 2 commits into from Dec 16, 2015

Conversation

cwardgar
Copy link
Contributor

@cwardgar cwardgar commented Dec 8, 2015

  • Group.addDimension() and Group.addDimensionIfNotExists() methods now throw an exception if the dimension isn't shared.
  • NetcdfFileWriter.addDimension() methods no longer have an "isShared" parameter. Such dimensions should always be shared and allowing them to be private is confusing and error-prone.
  • Update client code that uses those methods.
  • Add notes to UpgradingTo5.adoc

Also, an unrelated but too-small-for-its-own-PR commit:

  • If there's an exception when writing NcML , produce less spammy warning. Don't include a stack trace.

cwardgar added 2 commits December 8, 2015 15:52
…my warning.

* Don't include a stack trace.
* Group.addDimension() and Group.addDimensionIfNotExists() methods now throw an exception if the dimension isn't shared.
* NetcdfFileWriter.addDimension() methods no longer have an "isShared" parameter. Such dimensions should always be shared and allowing them to be private is confusing and error-prone.
* Update client code that uses those methods.
* Add notes to UpgradingTo5.adoc
@cwardgar
Copy link
Contributor Author

Bump.

cwardgar added a commit that referenced this pull request Dec 16, 2015
Enforce use of shared dimensions in groups
@cwardgar cwardgar merged commit 04942a8 into Unidata:5.0.0 Dec 16, 2015
@cwardgar
Copy link
Contributor Author

This was screwing up a new PR I was trying to do, so I went ahead and merged it.

@cwardgar cwardgar deleted the shared-dims branch January 6, 2016 04:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant