Fantasy-Map-Generator/modules/ui
Ilia Pushkin ccb75570da
Graph of temperature changes for the year in the burg (#733)
* Option for exporting grid cell (#731)

* Added Save Option for Api-like json export.
Will be updated and set to a scheme

* Save Option for Api-like added

* Moved UI of json export to export dialog.
Moved json export to another file named export-json.js

* Added Seperated json export selections
- all JSON : exports all json data.
- minimal JSON : exports json data without cells data.
- cells JSON : exports json data only with pack.cells data.

* More Stable Cell Export...

* Grid cells export option.

* Graph of temperature changes for the year in the burg

I'm bad at writing in English. Please excuse me for this.
It seems illogical to me the parameter of the average temperature for the year in the burg.
Therefore, I found a database of meteorological measurements at https://ru.climate-data.org/
And I analyzed it. With the help of a neural network. I approximately established the dependence of Dy[X] and Dd[X], Md[X] = f(t,p,l).
Dy[X] - how much the temperature in winter differs from the temperature in summer
Md[X] - how much the temperature during the day differs from the temperature at night, on average per year
Dd[X] - how much the temperature difference between day and night is not constant in winter and summer
t - average temperature for the year
p - average rainfall for the year
l - latitude
Now, for each city, you can plot the temperature change. Based on t,p and l.

ATTENTION!!!
The characteristics of the planet and its orbit coincide with those of the earth!

Further, I will use the Russian language, if you want to know my reasoning, please use the Google Translate capabilities.

Я изменил свою первоначальную идею и доработал её. Что касается качества и используемых функций - жду критики. JavaScript - не знакомый мне язык и я не уверен, что выполнил всё верно.
Что касается самой идеи - её реализация пока далека от совершенства. Я понял, что если установить в настройках мира температуру на экваторе ниже, чем на Земле, то графики получаются слишком далекими от реальности. Эта ошибка связана с тем, что Dy[X] зависит от широты, а не среднегодовой температуры. К сожалению добиться хорошей сходимости удалось только расширением нейросети - ещё больше магических чисел.
Теперь, на основе прошлой выборки из 899 городов, попущенных через нейросеть миллион раз среднеквадратичная ошибка стала 3%.
Входными данными для сети являются широта и влажность, а средняя температура иcпользуется только как ориентир при построении графиков.

* Add legnd in graph

* Editing Coefficients

The coefficients have been changed so that the sign of the latitude does not affect the result

Co-authored-by: Efruz Yıldırır <30903352+yldrefruz@users.noreply.github.com>
2022-02-03 10:21:50 +03:00
..
3d.js fix scaleBar on svg export 2021-10-23 15:19:34 +03:00
battle-screen.js fill-box web component 2022-01-22 17:47:56 +03:00
biomes-editor.js fill-box web component 2022-01-22 17:47:56 +03:00
burg-editor.js Graph of temperature changes for the year in the burg (#733) 2022-02-03 10:21:50 +03:00
burgs-overview.js bulk upload burg names - more clear help text 2022-01-15 15:14:36 +03:00
coastline-editor.js v1.4.04 2020-04-26 21:12:54 +03:00
cultures-editor.js fill-box web component 2022-01-22 17:47:56 +03:00
diplomacy-editor.js fill-box web component 2022-01-22 17:47:56 +03:00
editors.js improve MFCG link generation 2022-01-16 14:54:30 +03:00
elevation-profile.js store populationRate and urbanization in memory 2021-06-27 14:24:55 +03:00
emblems-editor.js v1.5.81 - svg coa load fix 2021-03-01 02:46:41 +03:00
general.js about page and F1 page update 2022-01-16 20:15:47 +03:00
heightmap-editor.js remove advanced tracking 2021-10-13 11:09:04 +03:00
hotkeys.js minmax util function 2021-10-10 17:59:27 +03:00
ice-editor.js v1.4.01 2020-04-23 19:44:32 +03:00
labels-editor.js disallow adding custom labels to state group 2021-11-30 21:47:22 +03:00
lakes-editor.js v1.5.87 - lakes editor rework 2021-03-02 03:28:08 +03:00
layers.js scale previpitation layer circles 2021-12-30 19:24:48 +03:00
markers-editor.js notes editor - clear on open 2021-10-07 13:34:08 +03:00
markers-overview.js markers-overview - ability to invert lock and pinned statuses 2021-10-17 14:03:59 +03:00
measurers.js fix scaleBar on svg export 2021-10-23 15:19:34 +03:00
military-overview.js fill-box web component 2022-01-22 17:47:56 +03:00
namesbase-editor.js improved namesbase analysis 2022-01-15 17:19:55 +03:00
notes-editor.js notes editor - clear on open 2021-10-07 13:34:08 +03:00
options.js seed history small style change 2022-01-16 19:49:20 +03:00
provinces-editor.js fill-box web component 2022-01-22 17:47:56 +03:00
regiment-editor.js v1.4.06 2020-05-05 02:00:40 +03:00
regiments-overview.js fill-box web component 2022-01-22 17:47:56 +03:00
relief-editor.js ability to remove icons in bulk via button 2021-07-13 14:51:21 +03:00
religions-editor.js fill-box web component 2022-01-22 17:47:56 +03:00
rivers-creator.js normalize prec, flux and river width 2021-12-30 18:49:36 +03:00
rivers-editor.js try to restore river course on load 2021-08-24 23:51:10 +03:00
rivers-overview.js markers overview - focus on marker 2021-09-28 23:22:16 +03:00
routes-editor.js v1.6.04 - apply getSegmentId for routes and rivers 2021-03-05 14:16:03 +03:00
states-editor.js fill-box web component 2022-01-22 17:47:56 +03:00
style.js allow more states via number input 2022-01-16 19:37:16 +03:00
temperature-graph.js Graph of temperature changes for the year in the burg (#733) 2022-02-03 10:21:50 +03:00
tools.js allow more states via number input 2022-01-16 19:37:16 +03:00
units-editor.js urbanDensity - save/load 2021-10-17 12:01:38 +03:00
world-configurator.js config generate markers dialog 2021-09-26 13:01:11 +03:00
zones-editor.js fill-box web component 2022-01-22 17:47:56 +03:00