w2w
w2w copied to clipboard
fix spaces in user-defined ucp lookup table
Addressing the white spaces in column names of user-defined LCZ look-up table. See #92
I have added a small check to see whether the custom MH_URB2D_MIN (MH_URB2D_MAX) values are smaller (larger) than MH_URB2D. Which is needed to calculate the building height distribution with scipy.stats.truncnorm
.
This integrity check is only executed when a custom ucp table is provided.
I just added a test for this and found a very minor bug. The name of the index becomes something like this ' '
where it should be None
. I don't think this is relevant for us, but not sure if we can/should just ignore it.
Just wondering @theendlessriver13, are you still working on this? As far as I can see, the test is failing?
I just added a test for this and found a very minor bug. The name of the index becomes something like this
' '
where it should beNone
. I don't think this is relevant for us, but not sure if we can/should just ignore it.
This is still the question because the Implementation is not 100% correct, that's why the new test fails.
I see... so I will have to check my implementation. Will add to my todo list ...
This fixes this small (irrelevant) mismatch between the dataframes! @theendlessriver13