Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Burg temperature graph refactoring #734

Merged
merged 8 commits into from
Feb 5, 2022
Merged

Burg temperature graph refactoring #734

merged 8 commits into from
Feb 5, 2022

Commits on Feb 3, 2022

  1. 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>
    Kerravitarr and yldrefruz authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    ccb7557 View commit details
    Browse the repository at this point in the history
  2. burg temperature graph - corrections

    Azgaar committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    5f0be04 View commit details
    Browse the repository at this point in the history
  3. burg temperature graph - clean up

    Azgaar committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    6beb262 View commit details
    Browse the repository at this point in the history
  4. burg temperature graph - clean up

    Azgaar committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    d99c24e View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2022

  1. Configuration menu
    Copy the full SHA
    6abed0c View commit details
    Browse the repository at this point in the history
  2. pump version to 1.72

    Azgaar committed Feb 5, 2022
    Configuration menu
    Copy the full SHA
    f65bc63 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator

     into burg-temperature-graph
    Azgaar committed Feb 5, 2022
    Configuration menu
    Copy the full SHA
    c65292f View commit details
    Browse the repository at this point in the history
  4. set width to auto

    Azgaar committed Feb 5, 2022
    Configuration menu
    Copy the full SHA
    65409a9 View commit details
    Browse the repository at this point in the history