# Fill value support

**URL:** <https://forum.hdfgroup.org/t/fill-value-support/11583>\
**Category:** HSDS\
**Created:** [October 4, 2023, 6:07am UTC](https://forum.hdfgroup.org/t/fill-value-support/11583 "2023-10-04T06:07:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan-willem.blokland](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jan-willem.blokland](https://forum.hdfgroup.org/u/jan-willem.blokland)\
**Post date:** [October 4, 2023, 6:07am UTC](https://forum.hdfgroup.org/t/fill-value-support/11583/1 "2023-10-04T06:07:57Z")

</div>

Hello,

Currently, I am working on supporting S3 in my library which is build on top of HDF5 using VOL-REST in combination with HSDS. In one of my test I noticed that fill value is not supported in HSDS 0.8.x.

Are there any plans for implementing support of fill value in HSDS?

Best regards,  
Jan-Willem

---

<div class="post-metadata">

**Author:** ![jreadey](https://forum.hdfgroup.org/user_avatar/forum.hdfgroup.org/jreadey/32/870_2.png) [@jreadey](https://forum.hdfgroup.org/u/jreadey)\
**Post date:** [October 5, 2023, 2:58am UTC](https://forum.hdfgroup.org/t/fill-value-support/11583/2 "2023-10-05T02:58:34Z")

</div>

Hi,

Fill value is supported in HSDS – e.g. see: [https://github.com/HDFGroup/hsds/blob/master/tests/integ/value\_test.py#L1107](https://github.com/HDFGroup/hsds/blob/master/tests/integ/value_test.py#L1107).

I thought it was supported in vol-rest as well. @mlarson - can you comment?

---

<div class="post-metadata">

**Author:** ![mlarson](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/m/8c91f0/32.png) [@mlarson](https://forum.hdfgroup.org/u/mlarson)\
**Post date:** [October 5, 2023, 2:35pm UTC](https://forum.hdfgroup.org/t/fill-value-support/11583/3 "2023-10-05T14:35:06Z")

</div>

Fill value is supported in HSDS 0.8.1+, see [here](https://github.com/HDFGroup/hsds/pull/241). It should also be supported in the REST VOL after [this](https://github.com/HDFGroup/vol-rest/pull/45/) commit. Looking at it now though, it looks like an error will still be thrown when later opening a dataset that was created with a fill value - I’ll make an issue for this.

---

<div class="post-metadata">

**Author:** ![jan-willem.blokland](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@jan-willem.blokland](https://forum.hdfgroup.org/u/jan-willem.blokland)\
**Post date:** [October 5, 2023, 3:11pm UTC](https://forum.hdfgroup.org/t/fill-value-support/11583/4 "2023-10-05T15:11:28Z")

</div>

Thanks both @jreadey and @mlarson for your help. I must admit it is sometimes a bit confusing where to report an issue because it is not always clear to me if it is a bug in HSDS or VOL-REST.

---

<div class="post-metadata">

**Author:** ![jreadey](https://forum.hdfgroup.org/user_avatar/forum.hdfgroup.org/jreadey/32/870_2.png) [@jreadey](https://forum.hdfgroup.org/u/jreadey)\
**Post date:** [October 5, 2023, 6:24pm UTC](https://forum.hdfgroup.org/t/fill-value-support/11583/5 "2023-10-05T18:24:21Z")

</div>

No worries - if you are not sure if it’s HSDS or VOL-REST just report the issue and we can sort it out.
