Google Earth Engine(GEE)——将字符串的转化为数字并且应用于时间搜索( ee.Date.fromYMD)
之前写过一篇关于如何将字符串转化为时间的,但是没有提到应用,这一次,当我们想使用一个字符串中提供的信息,用于切割的时候,我们就可以有效的将字符串转化为数字类型。问题:Date (Error)Number.int8, argument 'input': Invalid type. Expected type: Number. Actual type: String. Actual value: 1 原有代码:我们这里要使用的函数ee.Number.parse(input, radix)Convert a