You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the SH collection, such a byoc collection, is defined, it cannot be redefined, this can be annoying, and I was wondering if there are special reasons for this
# update the collectioncol=DataCollection.define_byoc('some-byoc-id', bands= [Band(name='B01', units=('DN'), output_types=(np.int16))])
This fails with
ValueError: Data collection name `BYOC_some-byoc-id` is already taken by another data collection
While it could just drop the old definition and redefine it with the bands. Or perhaps give some warning or something. Right now we have to restart the notebook kernel, which is annoying.
The text was updated successfully, but these errors were encountered:
The issue is that we never know which collection is already online, and in those cases you really cannot and should not redefine it.
But the official collections are already pre-defined and on collection definition a new collection is checked against existing ones, and then the new one is added. What if we never extend the enum, but always just check against the "official" ones?
What is the problem? Please describe.
Once the SH collection, such a byoc collection, is defined, it cannot be redefined, this can be annoying, and I was wondering if there are special reasons for this
E.g.
If I later decide to define also bands and do
This fails with
While it could just drop the old definition and redefine it with the bands. Or perhaps give some warning or something. Right now we have to restart the notebook kernel, which is annoying.
The text was updated successfully, but these errors were encountered: