You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// SPDX-License-Identifier: LGPL-3.0-or-later // please change accordingly based on the license in "reference"
2
+
var inputs=[{name: 'time', description: 'Time for sun position computation (ee.Date)', type: 'ee.Date', defaultValue: ee.Date(Date.now()), optional: false},
3
+
{name:'Return',description:'Return', type:'ee.Image',defaultValue:null,optional:true} // change the return type accordingly OR remove this line if the function doesn’t have an output
4
+
]
5
+
6
+
var reference = {
7
+
name: 'sunPosition',
8
+
license: 'LGPL-3.0-or-later',
9
+
description: 'Computes sun position angles (zenith, azimuth, elevation) for a given time. The azimuth is in clockwise form from north (like Landsat).',
// SPDX-License-Identifier: LGPL-3.0-or-later // please change accordingly based on the license in "reference"
2
+
var inputs=[{name: 'time', description: 'Time for sun position computation (ee.Date)', type: 'ee.Date', defaultValue: ee.Date(Date.now()), optional: false},
3
+
{name: 'angle', description: 'Solar elevation angle image in degrees (default is ee.Image(90.833))', type: 'ee.Image', defaultValue: ee.Image(90.833), optional: false},
4
+
{name:'Return',description:'Return', type:'ee.Image',defaultValue:null,optional:true} // change the return type accordingly OR remove this line if the function doesn’t have an output
5
+
]
6
+
7
+
var reference = {
8
+
name: 'sunRiseSet',
9
+
license: 'LGPL-3.0-or-later',
10
+
description: 'Computes sunrise and sunset times (in hours) for a given time. The angle input defaults to ee.Image(90.833) corresponding to the standard solar elevation for sunrise/sunset.',
0 commit comments