Объявление : Все некоммерческие проекты, зарегистрированные для использования Earth Engine до 15 апреля 2025 года, должны подтвердить некоммерческое право на сохранение доступа к Earth Engine.
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Возвращает отношение длины одной единицы к длине другой, например, unitRatio('day', 'minute') возвращает 1440. Допустимые единицы: 'year', 'month', 'week', 'day', 'hour', 'minute' и 'second'.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-24 UTC."],[[["`ee.Date.unitRatio()` calculates the length ratio between two time units, such as days and minutes."],["Valid time units for this function include 'year', 'month', 'week', 'day', 'hour', 'minute', and 'second'."],["The function takes two string arguments: the numerator unit and the denominator unit, and returns a float representing the ratio."],["Example: `ee.Date.unitRatio('day', 'minute')` would return 1440, indicating there are 1440 minutes in a day."]]],["The `unitRatio` function calculates the ratio between two time units. It accepts two string arguments: `numerator` and `denominator`, representing the desired units. Valid time units include 'year', 'month', 'week', 'day', 'hour', 'minute', and 'second'. The function returns a float value representing the ratio of the numerator to the denominator (e.g., how many minutes are in a day). Examples are provided in JavaScript and Python demonstrating various unit conversions.\n"]]