# Spatial UTCI .gh definition errors

**URL:** <https://discourse.ladybug.tools/t/spatial-utci-gh-definition-errors/3542>\
**Category:** ladybug-legacy\
**Tags:** utci\
**Created:** [August 20, 2018, 5:40pm UTC](https://discourse.ladybug.tools/t/spatial-utci-gh-definition-errors/3542 "2018-08-20T17:40:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![theo\_dim](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/theo_dim/32/8925_2.png) [@theo\_dim](https://discourse.ladybug.tools/u/theo_dim)\
**Post date:** [August 20, 2018, 5:40pm UTC](https://discourse.ladybug.tools/t/spatial-utci-gh-definition-errors/3542/1 "2018-08-20T17:40:29Z")

</div>

Hey everyone,

I have been exploring Chris Mackey’s Spatial UTCI map .gh definition for a project, but have been running into some problems. The first one is the amount of time the definition hangs; I have to leave the computer do its work overnight in order to get anything. When Rhino unfreezes, I get the following result:

 ![UTCI_1](https://discourse.ladybug.tools/uploads/default/original/2X/f/fa6add1947120e6cd0e7061245ef6478074376b1.PNG)

The ladybug installation was performed correctly, so i don’t know exactly where else to look. I have attached the .3dm file and .gh definition on the following link:

[https://we.tl/t-IGlRvKNY8P](https://we.tl/t-IGlRvKNY8P)

Thank you for your time everyone

Best,  
Theo

---

<div class="post-metadata">

**Author:** ![AbrahamYezioro](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/abrahamyezioro/32/3_2.png) [@AbrahamYezioro](https://discourse.ladybug.tools/u/AbrahamYezioro)\
**Post date:** [August 20, 2018, 6:03pm UTC](https://discourse.ladybug.tools/t/spatial-utci-gh-definition-errors/3542/2 "2018-08-20T18:03:45Z")

</div>

I would check the normal of the analysis surface. It should point upwards.  
-A.

---

<div class="post-metadata">

**Author:** ![theo\_dim](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/theo_dim/32/8925_2.png) [@theo\_dim](https://discourse.ladybug.tools/u/theo_dim)\
**Post date:** [August 20, 2018, 6:47pm UTC](https://discourse.ladybug.tools/t/spatial-utci-gh-definition-errors/3542/3 "2018-08-20T18:47:43Z")

</div>

Thank you Abraham. I checked the getmesh tool but can’t seem to locate which component extracts the plane’s normal. Which component are you referring to?

Thank you,  
Theo

---

<div class="post-metadata">

**Author:** ![AbrahamYezioro](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/abrahamyezioro/32/3_2.png) [@AbrahamYezioro](https://discourse.ladybug.tools/u/AbrahamYezioro)\
**Post date:** [August 20, 2018, 7:39pm UTC](https://discourse.ladybug.tools/t/spatial-utci-gh-definition-errors/3542/4 "2018-08-20T19:39:37Z")

</div>

If Rhino: use the dir command.  
If in GH, Evaluate the surface + Display Vector. Flip component will change the normal.  
-A.

---

<div class="post-metadata">

**Author:** ![theo\_dim](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/theo_dim/32/8925_2.png) [@theo\_dim](https://discourse.ladybug.tools/u/theo_dim)\
**Post date:** [August 21, 2018, 3:49pm UTC](https://discourse.ladybug.tools/t/spatial-utci-gh-definition-errors/3542/5 "2018-08-21T15:49:16Z")

</div>

Thank you Abraham and sorry for the late response, the simulation just finished. The normal was indeed pointing downwards but, after switching it to point upwards, I get the same result, namely:

 ![18_08_21_UTCI_3](https://discourse.ladybug.tools/uploads/default/original/2X/2/2ffaaa5568050d237a5c88fdc5fbeb4d4f8cc2f5.PNG)

Do you have any other suggestions on what I should be looking at? Thanks again, I will keep troubleshooting on my end as well.

---

<div class="post-metadata">

**Author:** ![devang](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/devang/32/21620_2.png) [@devang](https://discourse.ladybug.tools/u/devang)\
**Post date:** [August 21, 2018, 5:36pm UTC](https://discourse.ladybug.tools/t/spatial-utci-gh-definition-errors/3542/6 "2018-08-21T17:36:21Z")

</div>

1. Check if the unit is meters in Rhino.
2. Disconnect the legend parameters. That should show some results. Once you see them, attach legend parameters relevant to your results.

---

<div class="post-metadata">

**Author:** ![devang](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/devang/32/21620_2.png) [@devang](https://discourse.ladybug.tools/u/devang)\
**Post date:** [August 21, 2018, 5:36pm UTC](https://discourse.ladybug.tools/t/spatial-utci-gh-definition-errors/3542/7 "2018-08-21T17:36:50Z")

</div>

kindly setup a profile picture

---

<div class="post-metadata">

**Author:** ![AbrahamYezioro](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/abrahamyezioro/32/3_2.png) [@AbrahamYezioro](https://discourse.ladybug.tools/u/AbrahamYezioro)\
**Post date:** [August 21, 2018, 6:03pm UTC](https://discourse.ladybug.tools/t/spatial-utci-gh-definition-errors/3542/8 "2018-08-21T18:03:55Z")

</div>

Disconnect the lower and upper limits and you’ll see results. Agree with @devang. Set those limits AFTER you know the range.

 ![Capture](https://discourse.ladybug.tools/uploads/default/original/2X/5/5194a792891ed92e16f13d16aa3d8b29d2234297.JPG)  
For the sake of time i changed the grid size. Consider if you need a so fine resolution. It will take a lot of time to calculate.  
No need to set units to meters.

-A.

---

<div class="post-metadata">

**Author:** ![theo\_dim](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/theo_dim/32/8925_2.png) [@theo\_dim](https://discourse.ladybug.tools/u/theo_dim)\
**Post date:** [August 21, 2018, 7:20pm UTC](https://discourse.ladybug.tools/t/spatial-utci-gh-definition-errors/3542/9 "2018-08-21T19:20:12Z")

</div>

Thank you Abraham, that did the trick! Thank you @devang for your advice as well, will do.
