CenterForTheBuiltEnvironment / clima

The CBE Clima Tool is a web-based application built to support the need of architects and engineers interested in climate-adapted design. It allows users to analyze the climate data of more than 27,500 locations worldwide using the data contained in EPW files.
https://clima.cbe.berkeley.edu
MIT License
64 stars 22 forks source link

psychrometric chart #83

Open FedericoTartarini opened 3 years ago

FedericoTartarini commented 3 years ago

The psychrometric chart does not look that great under certain circumstances. I guess you are binning the data in too narrow bands. There should probably a minimum. Example for Singapore with the following inputs: months from 1 - 11 (inverted) and time between and 12.

image

giobetti commented 3 years ago

Hi Federico,

Thanks for this, what do you mean too narrow bands? The bins are 1 deg and some 0,004 absolute humidity. I guess that the issue in the case you selected is that for 4 hours of 1 month (4x30=120 data points) probably the frequency graph does not make too much sense in itself…

One thing that might help improve the appearance would be to enable some sort of adaptive bin size. When I played with it, the autobin function wasn’t looking that great either…

Sent from my iPhone

On 22. Jul 2021, at 09:08, Federico Tartarini @.***> wrote:



The psychrometric chart does not look that great under certain circumstances. I guess you are binning the data in too narrow bands. There should probably a minimum. Example for Singapore with the following inputs: months from 1 - 11 (inverted) and time between and 12.

[image]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F40018640%2F126601502-4eaaf00d-9365-4f86-af44-bab3c28f637d.png&data=04%7C01%7C%7C9fbabe7726684e23057308d94cdf9013%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637625345335590215%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=N8VugVRCC1L33IrO%2BSJ0LlzLfFc4ej%2FWe0tMAfEq%2BGg%3D&reserved=0

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCenterForTheBuiltEnvironment%2Fclima%2Fissues%2F83&data=04%7C01%7C%7C9fbabe7726684e23057308d94cdf9013%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637625345335600207%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tUkydm4dTSN2Iq7TToRG0PX23SwRXGIt0pgYj92uw4c%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIWZJAEZL74ZL4DC2QYOV6DTY67YJANCNFSM5AZM4OTQ&data=04%7C01%7C%7C9fbabe7726684e23057308d94cdf9013%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637625345335610203%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6nID%2B%2FH%2FHXI%2BdD%2FXziEVqTlDBsimxCzf2GrD7a4hexg%3D&reserved=0.

FedericoTartarini commented 3 years ago

Yes, that is what I meant, it would be great to have an adaptive bin size, but if you say that you have already tried that I will close this issue.

praftery commented 3 years ago

Minor graphical changes here, but it would be more typical (and much clearer) if the default chart shape was closer to square. e.g. the default height was 2-3 times what it currently is.

If it's feasible to implement, it would also be good to locate the chart controls in the white space at the top left of the chart, as that will always be blank space.

giobetti commented 3 years ago

There is no “default” chart size. Currently the height is fixed and the width resizes with the browser, so it is easy to have a more square appearance.

praftery commented 3 years ago

I understand. I can't really picture a situation where a chart like the one below is that useful. Also, even if I resize the browser window, the tab text and controls start to overlay before it becomes square. It would be a better user experience to automatically present a chart with a more appropriate aspect ratio, instead of forcing the user to resize their browser window to achieve a similar result. We could just 2.5x the fixed height, or dynamically scale it so that it is approximately square depending browser width.

[image: image.png] [image: image.png]

praftery commented 2 years ago

One other minor point on the psychrometric chart, but as it also relates to scaling and bin size I'm adding to this thread. Consider adding the comfort envelope to the psychrometric chart. This will give folks visual context as they switch between climates (as the axis often rescales when doing so making it difficult to understand)