import geemap
import os
geemap.show_youtube('fDnDVuM_Ke4')
Output(layout=Layout(width='815px'))
# geemap.update_package()
You can download this GIF example from here. You can also create GIF images from Earth Engine data using this amazing LT-GEE Time Series Animator, which was created by Justin Braaten.
in_gif = os.path.abspath('../data/animation.gif')
out_gif = os.path.join(os.path.expanduser('~'), 'Downloads/output.gif')
geemap.show_image(in_gif)
Output()
geemap.add_text_to_gif(in_gif, out_gif, xy=('5%', '5%'), text_sequence=1984, font_size=30, font_color='#0000ff', duration=100)
geemap.show_image(out_gif)
Output()
geemap.add_text_to_gif(out_gif, out_gif, xy=('30%', '85%'), text_sequence="Las Vegas", font_color='black')
geemap.show_image(out_gif)
Output()
geemap.system_fonts()
['AkaashNormal.ttf', 'C059-BdIta.otf', 'C059-Bold.otf', 'C059-Italic.otf', 'C059-Roman.otf', 'Cantarell-Bold.otf', 'Cantarell-ExtraBold.otf', 'Cantarell-Light.otf', 'Cantarell-Regular.otf', 'Cantarell-Thin.otf', 'Cantarell-VF.otf', 'D050000L.otf', 'DejaVuMathTeXGyre.ttf', 'DejaVuSans-Bold.ttf', 'DejaVuSans-BoldOblique.ttf', 'DejaVuSans-ExtraLight.ttf', 'DejaVuSans-Oblique.ttf', 'DejaVuSans.ttf', 'DejaVuSansCondensed-Bold.ttf', 'DejaVuSansCondensed-BoldOblique.ttf', 'DejaVuSansCondensed-Oblique.ttf', 'DejaVuSansCondensed.ttf', 'DejaVuSansMono-Bold.ttf', 'DejaVuSansMono-BoldOblique.ttf', 'DejaVuSansMono-Oblique.ttf', 'DejaVuSansMono.ttf', 'DejaVuSerif-Bold.ttf', 'DejaVuSerif-BoldItalic.ttf', 'DejaVuSerif-Italic.ttf', 'DejaVuSerif.ttf', 'DejaVuSerifCondensed-Bold.ttf', 'DejaVuSerifCondensed-BoldItalic.ttf', 'DejaVuSerifCondensed-Italic.ttf', 'DejaVuSerifCondensed.ttf', 'DroidKufi-Bold.ttf', 'DroidKufi-Regular.ttf', 'DroidNaskh-Bold.ttf', 'DroidNaskh-Regular-SystemUI.ttf', 'DroidNaskh-Regular.ttf', 'DroidSans-Bold.ttf', 'DroidSans-Bold.ttf', 'DroidSans.ttf', 'DroidSans.ttf', 'DroidSansArabic.ttf', 'DroidSansArmenian.ttf', 'DroidSansDevanagari-Regular.ttf', 'DroidSansEthiopic-Bold.ttf', 'DroidSansEthiopic-Regular.ttf', 'DroidSansFallback.ttf', 'DroidSansFallbackFull.ttf', 'DroidSansFallbackLegacy.ttf', 'DroidSansGeorgian.ttf', 'DroidSansHebrew-Bold.ttf', 'DroidSansHebrew-Regular.ttf', 'DroidSansJapanese.ttf', 'DroidSansMono.ttf', 'DroidSansMono.ttf', 'DroidSansTamil-Bold.ttf', 'DroidSansTamil-Regular.ttf', 'DroidSansThai.ttf', 'DroidSerif-Bold.ttf', 'DroidSerif-Bold.ttf', 'DroidSerif-BoldItalic.ttf', 'DroidSerif-BoldItalic.ttf', 'DroidSerif-Italic.ttf', 'DroidSerif-Italic.ttf', 'DroidSerif-Regular.ttf', 'DroidSerif.ttf', 'Gargi-1.2b.ttf', 'GurbaniBoliLite.ttf', 'Hack-Bold.ttf', 'Hack-BoldItalic.ttf', 'Hack-Italic.ttf', 'Hack-Regular.ttf', 'Inconsolata-Black.ttf', 'Inconsolata-Bold.ttf', 'Inconsolata-Condensed.ttf', 'Inconsolata-CondensedBlack.ttf', 'Inconsolata-CondensedBold.ttf', 'Inconsolata-CondensedExtraBold.ttf', 'Inconsolata-CondensedExtraLight.ttf', 'Inconsolata-CondensedLight.ttf', 'Inconsolata-CondensedMedium.ttf', 'Inconsolata-CondensedSemiBold.ttf', 'Inconsolata-Expanded.ttf', 'Inconsolata-ExpandedBlack.ttf', 'Inconsolata-ExpandedBold.ttf', 'Inconsolata-ExpandedExtraBold.ttf', 'Inconsolata-ExpandedExtraLight.ttf', 'Inconsolata-ExpandedLight.ttf', 'Inconsolata-ExpandedMedium.ttf', 'Inconsolata-ExpandedSemiBold.ttf', 'Inconsolata-ExtraBold.ttf', 'Inconsolata-ExtraCondensed.ttf', 'Inconsolata-ExtraCondensedBlack.ttf', 'Inconsolata-ExtraCondensedBold.ttf', 'Inconsolata-ExtraCondensedExtraBold.ttf', 'Inconsolata-ExtraCondensedExtraLight.ttf', 'Inconsolata-ExtraCondensedLight.ttf', 'Inconsolata-ExtraCondensedMedium.ttf', 'Inconsolata-ExtraCondensedSemiBold.ttf', 'Inconsolata-ExtraExpanded.ttf', 'Inconsolata-ExtraExpandedBlack.ttf', 'Inconsolata-ExtraExpandedBold.ttf', 'Inconsolata-ExtraExpandedExtraBold.ttf', 'Inconsolata-ExtraExpandedExtraLight.ttf', 'Inconsolata-ExtraExpandedLight.ttf', 'Inconsolata-ExtraExpandedMedium.ttf', 'Inconsolata-ExtraExpandedSemiBold.ttf', 'Inconsolata-ExtraLight.ttf', 'Inconsolata-Light.ttf', 'Inconsolata-Medium.ttf', 'Inconsolata-Regular.ttf', 'Inconsolata-SemiBold.ttf', 'Inconsolata-SemiCondensed.ttf', 'Inconsolata-SemiCondensedBlack.ttf', 'Inconsolata-SemiCondensedBold.ttf', 'Inconsolata-SemiCondensedExtraBold.ttf', 'Inconsolata-SemiCondensedExtraLight.ttf', 'Inconsolata-SemiCondensedLight.ttf', 'Inconsolata-SemiCondensedMedium.ttf', 'Inconsolata-SemiCondensedSemiBold.ttf', 'Inconsolata-SemiExpanded.ttf', 'Inconsolata-SemiExpandedBlack.ttf', 'Inconsolata-SemiExpandedBold.ttf', 'Inconsolata-SemiExpandedExtraBold.ttf', 'Inconsolata-SemiExpandedExtraLight.ttf', 'Inconsolata-SemiExpandedLight.ttf', 'Inconsolata-SemiExpandedMedium.ttf', 'Inconsolata-SemiExpandedSemiBold.ttf', 'Inconsolata-UltraCondensed.ttf', 'Inconsolata-UltraCondensedBlack.ttf', 'Inconsolata-UltraCondensedBold.ttf', 'Inconsolata-UltraCondensedExtraBold.ttf', 'Inconsolata-UltraCondensedExtraLight.ttf', 'Inconsolata-UltraCondensedLight.ttf', 'Inconsolata-UltraCondensedMedium.ttf', 'Inconsolata-UltraCondensedSemiBold.ttf', 'Inconsolata-UltraExpanded.ttf', 'Inconsolata-UltraExpandedBlack.ttf', 'Inconsolata-UltraExpandedBold.ttf', 'Inconsolata-UltraExpandedExtraBold.ttf', 'Inconsolata-UltraExpandedExtraLight.ttf', 'Inconsolata-UltraExpandedLight.ttf', 'Inconsolata-UltraExpandedMedium.ttf', 'Inconsolata-UltraExpandedSemiBold.ttf', 'LiberationMono-Bold.ttf', 'LiberationMono-BoldItalic.ttf', 'LiberationMono-Italic.ttf', 'LiberationMono-Regular.ttf', 'LiberationSans-Bold.ttf', 'LiberationSans-BoldItalic.ttf', 'LiberationSans-Italic.ttf', 'LiberationSans-Regular.ttf', 'LiberationSerif-Bold.ttf', 'LiberationSerif-BoldItalic.ttf', 'LiberationSerif-Italic.ttf', 'LiberationSerif-Regular.ttf', 'Ligconsolata-Bold.ttf', 'Ligconsolata-Regular.ttf', 'LikhanNormal.ttf', 'MalOtf.ttf', 'MuktiNarrow.ttf', 'MuktiNarrowBold.ttf', 'NimbusMonoPS-Bold.otf', 'NimbusMonoPS-BoldItalic.otf', 'NimbusMonoPS-Italic.otf', 'NimbusMonoPS-Regular.otf', 'NimbusRoman-Bold.otf', 'NimbusRoman-BoldItalic.otf', 'NimbusRoman-Italic.otf', 'NimbusRoman-Regular.otf', 'NimbusSans-Bold.otf', 'NimbusSans-BoldItalic.otf', 'NimbusSans-Italic.otf', 'NimbusSans-Regular.otf', 'NimbusSansNarrow-Bold.otf', 'NimbusSansNarrow-BoldOblique.otf', 'NimbusSansNarrow-Oblique.otf', 'NimbusSansNarrow-Regular.otf', 'NotoColorEmoji.ttf', 'NotoKufiArabic-Bold.ttf', 'NotoKufiArabic-Medium.ttf', 'NotoKufiArabic-Regular.ttf', 'NotoKufiArabic-Semibold.ttf', 'NotoMono-Regular.ttf', 'NotoMusic-Regular.ttf', 'NotoNaskhArabic-Bold.ttf', 'NotoNaskhArabic-Regular.ttf', 'NotoNaskhArabicUI-Bold.ttf', 'NotoNaskhArabicUI-Regular.ttf', 'NotoNastaliqUrdu-Bold.ttf', 'NotoNastaliqUrdu-Regular.ttf', 'NotoSans-Black.ttf', 'NotoSans-BlackItalic.ttf', 'NotoSans-Bold.ttf', 'NotoSans-BoldItalic.ttf', 'NotoSans-Italic.ttf', 'NotoSans-Light.ttf', 'NotoSans-LightItalic.ttf', 'NotoSans-Medium.ttf', 'NotoSans-MediumItalic.ttf', 'NotoSans-Regular.ttf', 'NotoSans-Thin.ttf', 'NotoSans-ThinItalic.ttf', 'NotoSansAdlam-Regular.ttf', 'NotoSansAdlamUnjoined-Regular.ttf', 'NotoSansAnatolianHieroglyphs-Regular.ttf', 'NotoSansArabic-Black.ttf', 'NotoSansArabic-Bold.ttf', 'NotoSansArabic-Light.ttf', 'NotoSansArabic-Medium.ttf', 'NotoSansArabic-Regular.ttf', 'NotoSansArabic-Thin.ttf', 'NotoSansArabicUI-Black.ttf', 'NotoSansArabicUI-Bold.ttf', 'NotoSansArabicUI-Light.ttf', 'NotoSansArabicUI-Medium.ttf', 'NotoSansArabicUI-Regular.ttf', 'NotoSansArabicUI-Thin.ttf', 'NotoSansArmenian-Black.ttf', 'NotoSansArmenian-Bold.ttf', 'NotoSansArmenian-Light.ttf', 'NotoSansArmenian-Medium.ttf', 'NotoSansArmenian-Regular.ttf', 'NotoSansArmenian-Thin.ttf', 'NotoSansAvestan-Regular.ttf', 'NotoSansBamum-Regular.ttf', 'NotoSansBassaVah-Regular.ttf', 'NotoSansBatak-Regular.ttf', 'NotoSansBengali-Black.ttf', 'NotoSansBengali-Bold.ttf', 'NotoSansBengali-Light.ttf', 'NotoSansBengali-Medium.ttf', 'NotoSansBengali-Regular.ttf', 'NotoSansBengali-Thin.ttf', 'NotoSansBengaliUI-Black.ttf', 'NotoSansBengaliUI-Bold.ttf', 'NotoSansBengaliUI-Light.ttf', 'NotoSansBengaliUI-Medium.ttf', 'NotoSansBengaliUI-Regular.ttf', 'NotoSansBengaliUI-Thin.ttf', 'NotoSansBhaiksuki-Regular.ttf', 'NotoSansBrahmi-Regular.ttf', 'NotoSansBuginese-Regular.ttf', 'NotoSansBuhid-Regular.ttf', 'NotoSansCanadianAboriginal-Black.ttf', 'NotoSansCanadianAboriginal-Bold.ttf', 'NotoSansCanadianAboriginal-Light.ttf', 'NotoSansCanadianAboriginal-Medium.ttf', 'NotoSansCanadianAboriginal-Regular.ttf', 'NotoSansCanadianAboriginal-Thin.ttf', 'NotoSansCarian-Regular.ttf', 'NotoSansCaucasianAlbanian-Regular.ttf', 'NotoSansChakma-Regular.ttf', 'NotoSansCham-Black.ttf', 'NotoSansCham-Bold.ttf', 'NotoSansCham-Light.ttf', 'NotoSansCham-Medium.ttf', 'NotoSansCham-Regular.ttf', 'NotoSansCham-Thin.ttf', 'NotoSansCherokee-Black.ttf', 'NotoSansCherokee-Bold.ttf', 'NotoSansCherokee-Light.ttf', 'NotoSansCherokee-Medium.ttf', 'NotoSansCherokee-Regular.ttf', 'NotoSansCherokee-Thin.ttf', 'NotoSansCoptic-Regular.ttf', 'NotoSansCuneiform-Regular.ttf', 'NotoSansCypriot-Regular.ttf', 'NotoSansDeseret-Regular.ttf', 'NotoSansDevanagari-Black.ttf', 'NotoSansDevanagari-Bold.ttf', 'NotoSansDevanagari-Light.ttf', 'NotoSansDevanagari-Medium.ttf', 'NotoSansDevanagari-Regular.ttf', 'NotoSansDevanagari-Thin.ttf', 'NotoSansDevanagariUI-Black.ttf', 'NotoSansDevanagariUI-Bold.ttf', 'NotoSansDevanagariUI-Light.ttf', 'NotoSansDevanagariUI-Medium.ttf', 'NotoSansDevanagariUI-Regular.ttf', 'NotoSansDevanagariUI-Thin.ttf', 'NotoSansDisplay-Black.ttf', 'NotoSansDisplay-BlackItalic.ttf', 'NotoSansDisplay-Bold.ttf', 'NotoSansDisplay-BoldItalic.ttf', 'NotoSansDisplay-Italic.ttf', 'NotoSansDisplay-Light.ttf', 'NotoSansDisplay-LightItalic.ttf', 'NotoSansDisplay-Medium.ttf', 'NotoSansDisplay-MediumItalic.ttf', 'NotoSansDisplay-Regular.ttf', 'NotoSansDisplay-Thin.ttf', 'NotoSansDisplay-ThinItalic.ttf', 'NotoSansDuployan-Regular.ttf', 'NotoSansEgyptianHieroglyphs-Regular.ttf', 'NotoSansElbasan-Regular.ttf', 'NotoSansEthiopic-Black.ttf', 'NotoSansEthiopic-Bold.ttf', 'NotoSansEthiopic-Light.ttf', 'NotoSansEthiopic-Medium.ttf', 'NotoSansEthiopic-Regular.ttf', 'NotoSansEthiopic-Thin.ttf', 'NotoSansGeorgian-Black.ttf', 'NotoSansGeorgian-Bold.ttf', 'NotoSansGeorgian-Light.ttf', 'NotoSansGeorgian-Medium.ttf', 'NotoSansGeorgian-Regular.ttf', 'NotoSansGeorgian-Thin.ttf', 'NotoSansGlagolitic-Regular.ttf', 'NotoSansGothic-Regular.ttf', 'NotoSansGrantha-Regular.ttf', 'NotoSansGujarati-Bold.ttf', 'NotoSansGujarati-Regular.ttf', 'NotoSansGujaratiUI-Bold.ttf', 'NotoSansGujaratiUI-Regular.ttf', 'NotoSansGurmukhi-Black.ttf', 'NotoSansGurmukhi-Bold.ttf', 'NotoSansGurmukhi-Light.ttf', 'NotoSansGurmukhi-Medium.ttf', 'NotoSansGurmukhi-Regular.ttf', 'NotoSansGurmukhi-Thin.ttf', 'NotoSansGurmukhiUI-Black.ttf', 'NotoSansGurmukhiUI-Bold.ttf', 'NotoSansGurmukhiUI-Light.ttf', 'NotoSansGurmukhiUI-Medium.ttf', 'NotoSansGurmukhiUI-Regular.ttf', 'NotoSansGurmukhiUI-Thin.ttf', 'NotoSansHanifiRohingya-Regular.ttf', 'NotoSansHanunoo-Regular.ttf', 'NotoSansHatran-Regular.ttf', 'NotoSansHebrew-Black.ttf', 'NotoSansHebrew-Bold.ttf', 'NotoSansHebrew-Light.ttf', 'NotoSansHebrew-Medium.ttf', 'NotoSansHebrew-Regular.ttf', 'NotoSansHebrew-Thin.ttf', 'NotoSansImperialAramaic-Regular.ttf', 'NotoSansIndicSiyaqNumbers-Regular.ttf', 'NotoSansInscriptionalPahlavi-Regular.ttf', 'NotoSansInscriptionalParthian-Regular.ttf', 'NotoSansJavanese-Bold.ttf', 'NotoSansJavanese-Regular.ttf', 'NotoSansKaithi-Regular.ttf', 'NotoSansKannada-Black.ttf', 'NotoSansKannada-Bold.ttf', 'NotoSansKannada-Light.ttf', 'NotoSansKannada-Medium.ttf', 'NotoSansKannada-Regular.ttf', 'NotoSansKannada-Thin.ttf', 'NotoSansKannadaUI-Black.ttf', 'NotoSansKannadaUI-Bold.ttf', 'NotoSansKannadaUI-Light.ttf', 'NotoSansKannadaUI-Medium.ttf', 'NotoSansKannadaUI-Regular.ttf', 'NotoSansKannadaUI-Thin.ttf', 'NotoSansKayahLi-Regular.ttf', 'NotoSansKharoshthi-Regular.ttf', 'NotoSansKhmer-Black.ttf', 'NotoSansKhmer-Bold.ttf', 'NotoSansKhmer-Light.ttf', 'NotoSansKhmer-Medium.ttf', 'NotoSansKhmer-Regular.ttf', 'NotoSansKhmer-Thin.ttf', 'NotoSansKhmerUI-Black.ttf', 'NotoSansKhmerUI-Bold.ttf', 'NotoSansKhmerUI-Light.ttf', 'NotoSansKhmerUI-Medium.ttf', 'NotoSansKhmerUI-Regular.ttf', 'NotoSansKhmerUI-Thin.ttf', 'NotoSansKhojki-Regular.ttf', 'NotoSansKhudawadi-Regular.ttf', 'NotoSansLao-Black.ttf', 'NotoSansLao-Bold.ttf', 'NotoSansLao-Light.ttf', 'NotoSansLao-Medium.ttf', 'NotoSansLao-Regular.ttf', 'NotoSansLao-Thin.ttf', 'NotoSansLaoUI-Black.ttf', 'NotoSansLaoUI-Bold.ttf', 'NotoSansLaoUI-Light.ttf', 'NotoSansLaoUI-Medium.ttf', 'NotoSansLaoUI-Regular.ttf', 'NotoSansLaoUI-Thin.ttf', 'NotoSansLepcha-Regular.ttf', 'NotoSansLimbu-Regular.ttf', 'NotoSansLinearA-Regular.ttf', 'NotoSansLinearB-Regular.ttf', 'NotoSansLisu-Regular.ttf', 'NotoSansLycian-Regular.ttf', 'NotoSansLydian-Regular.ttf', 'NotoSansMahajani-Regular.ttf', 'NotoSansMalayalam-Black.ttf', 'NotoSansMalayalam-Bold.ttf', 'NotoSansMalayalam-Light.ttf', 'NotoSansMalayalam-Medium.ttf', 'NotoSansMalayalam-Regular.ttf', 'NotoSansMalayalam-Thin.ttf', 'NotoSansMalayalamUI-Black.ttf', 'NotoSansMalayalamUI-Bold.ttf', 'NotoSansMalayalamUI-Light.ttf', 'NotoSansMalayalamUI-Medium.ttf', 'NotoSansMalayalamUI-Regular.ttf', 'NotoSansMalayalamUI-Thin.ttf', 'NotoSansMandaic-Regular.ttf', 'NotoSansManichaean-Regular.ttf', 'NotoSansMarchen-Regular.ttf', 'NotoSansMath-Regular.ttf', 'NotoSansMayanNumerals-Regular.ttf', 'NotoSansMeeteiMayek-Regular.ttf', 'NotoSansMendeKikakui-Regular.ttf', 'NotoSansMeroitic-Regular.ttf', 'NotoSansMiao-Regular.ttf', 'NotoSansModi-Regular.ttf', 'NotoSansMongolian-Regular.ttf', 'NotoSansMono-Black.ttf', 'NotoSansMono-Bold.ttf', 'NotoSansMono-Light.ttf', 'NotoSansMono-Medium.ttf', 'NotoSansMono-Regular.ttf', 'NotoSansMono-Thin.ttf', 'NotoSansMro-Regular.ttf', 'NotoSansMultani-Regular.ttf', 'NotoSansMyanmar-Black.ttf', 'NotoSansMyanmar-Bold.ttf', 'NotoSansMyanmar-Light.ttf', 'NotoSansMyanmar-Medium.ttf', 'NotoSansMyanmar-Regular.ttf', 'NotoSansMyanmar-Thin.ttf', 'NotoSansMyanmarUI-Black.ttf', 'NotoSansMyanmarUI-Bold.ttf', 'NotoSansMyanmarUI-Light.ttf', 'NotoSansMyanmarUI-Medium.ttf', 'NotoSansMyanmarUI-Regular.ttf', 'NotoSansMyanmarUI-Thin.ttf', 'NotoSansNKo-Regular.ttf', 'NotoSansNabataean-Regular.ttf', 'NotoSansNewTaiLue-Regular.ttf', 'NotoSansNewa-Regular.ttf', 'NotoSansOgham-Regular.ttf', 'NotoSansOlChiki-Regular.ttf', 'NotoSansOldHungarian-Regular.ttf', 'NotoSansOldItalic-Regular.ttf', 'NotoSansOldNorthArabian-Regular.ttf', 'NotoSansOldPermic-Regular.ttf', 'NotoSansOldPersian-Regular.ttf', 'NotoSansOldSogdian-Regular.ttf', 'NotoSansOldSouthArabian-Regular.ttf', 'NotoSansOldTurkic-Regular.ttf', 'NotoSansOriya-Bold.ttf', 'NotoSansOriya-Regular.ttf', 'NotoSansOriyaUI-Bold.ttf', 'NotoSansOriyaUI-Regular.ttf', 'NotoSansOsage-Regular.ttf', 'NotoSansOsmanya-Regular.ttf', 'NotoSansPahawhHmong-Regular.ttf', 'NotoSansPalmyrene-Regular.ttf', 'NotoSansPauCinHau-Regular.ttf', 'NotoSansPhagsPa-Regular.ttf', 'NotoSansPhoenician-Regular.ttf', 'NotoSansPsalterPahlavi-Regular.ttf', 'NotoSansRejang-Regular.ttf', 'NotoSansRunic-Regular.ttf', 'NotoSansSamaritan-Regular.ttf', 'NotoSansSaurashtra-Regular.ttf', 'NotoSansSharada-Regular.ttf', 'NotoSansShavian-Regular.ttf', 'NotoSansSiddham-Regular.ttf', 'NotoSansSinhala-Black.ttf', 'NotoSansSinhala-Bold.ttf', 'NotoSansSinhala-Light.ttf', 'NotoSansSinhala-Medium.ttf', 'NotoSansSinhala-Regular.ttf', 'NotoSansSinhala-Thin.ttf', 'NotoSansSinhalaUI-Black.ttf', 'NotoSansSinhalaUI-Bold.ttf', 'NotoSansSinhalaUI-Light.ttf', 'NotoSansSinhalaUI-Medium.ttf', 'NotoSansSinhalaUI-Regular.ttf', 'NotoSansSinhalaUI-Thin.ttf', 'NotoSansSoraSompeng-Regular.ttf', 'NotoSansSundanese-Regular.ttf', 'NotoSansSylotiNagri-Regular.ttf', 'NotoSansSymbols-Black.ttf', 'NotoSansSymbols-Bold.ttf', 'NotoSansSymbols-Light.ttf', 'NotoSansSymbols-Medium.ttf', 'NotoSansSymbols-Regular.ttf', 'NotoSansSymbols-Thin.ttf', 'NotoSansSymbols2-Regular.ttf', 'NotoSansSyriac-Black.ttf', 'NotoSansSyriac-Regular.ttf', 'NotoSansSyriac-Thin.ttf', 'NotoSansTagalog-Regular.ttf', 'NotoSansTagbanwa-Regular.ttf', 'NotoSansTaiLe-Regular.ttf', 'NotoSansTaiTham-Regular.ttf', 'NotoSansTaiViet-Regular.ttf', 'NotoSansTakri-Regular.ttf', 'NotoSansTamil-Black.ttf', 'NotoSansTamil-Bold.ttf', 'NotoSansTamil-Light.ttf', 'NotoSansTamil-Medium.ttf', 'NotoSansTamil-Regular.ttf', 'NotoSansTamil-Thin.ttf', 'NotoSansTamilSupplement-Regular.ttf', 'NotoSansTamilUI-Black.ttf', 'NotoSansTamilUI-Bold.ttf', 'NotoSansTamilUI-Light.ttf', 'NotoSansTamilUI-Medium.ttf', 'NotoSansTamilUI-Regular.ttf', 'NotoSansTamilUI-Thin.ttf', 'NotoSansTelugu-Black.ttf', 'NotoSansTelugu-Bold.ttf', 'NotoSansTelugu-Light.ttf', 'NotoSansTelugu-Medium.ttf', 'NotoSansTelugu-Regular.ttf', 'NotoSansTelugu-Thin.ttf', 'NotoSansTeluguUI-Black.ttf', 'NotoSansTeluguUI-Bold.ttf', 'NotoSansTeluguUI-Light.ttf', 'NotoSansTeluguUI-Medium.ttf', 'NotoSansTeluguUI-Regular.ttf', 'NotoSansTeluguUI-Thin.ttf', 'NotoSansThaana-Black.ttf', 'NotoSansThaana-Bold.ttf', 'NotoSansThaana-Light.ttf', 'NotoSansThaana-Medium.ttf', 'NotoSansThaana-Regular.ttf', 'NotoSansThaana-Thin.ttf', 'NotoSansThai-Black.ttf', 'NotoSansThai-Bold.ttf', 'NotoSansThai-Light.ttf', 'NotoSansThai-Medium.ttf', 'NotoSansThai-Regular.ttf', 'NotoSansThai-Thin.ttf', 'NotoSansThaiUI-Black.ttf', 'NotoSansThaiUI-Bold.ttf', 'NotoSansThaiUI-Light.ttf', 'NotoSansThaiUI-Medium.ttf', 'NotoSansThaiUI-Regular.ttf', 'NotoSansThaiUI-Thin.ttf', 'NotoSansTibetan-Bold.ttf', 'NotoSansTibetan-Regular.ttf', 'NotoSansTifinagh-Regular.ttf', 'NotoSansTirhuta-Regular.ttf', 'NotoSansUgaritic-Regular.ttf', 'NotoSansVai-Regular.ttf', 'NotoSansWarangCiti-Regular.ttf', 'NotoSansYi-Regular.ttf', 'NotoSerif-Black.ttf', 'NotoSerif-BlackItalic.ttf', 'NotoSerif-Bold.ttf', 'NotoSerif-BoldItalic.ttf', 'NotoSerif-Italic.ttf', 'NotoSerif-Light.ttf', 'NotoSerif-LightItalic.ttf', 'NotoSerif-Medium.ttf', 'NotoSerif-MediumItalic.ttf', 'NotoSerif-Regular.ttf', 'NotoSerif-Thin.ttf', 'NotoSerif-ThinItalic.ttf', 'NotoSerifAhom-Regular.ttf', 'NotoSerifArmenian-Black.ttf', 'NotoSerifArmenian-Bold.ttf', 'NotoSerifArmenian-Light.ttf', 'NotoSerifArmenian-Medium.ttf', 'NotoSerifArmenian-Regular.ttf', 'NotoSerifArmenian-Thin.ttf', 'NotoSerifBalinese-Regular.ttf', 'NotoSerifBengali-Black.ttf', 'NotoSerifBengali-Bold.ttf', 'NotoSerifBengali-Light.ttf', 'NotoSerifBengali-Medium.ttf', 'NotoSerifBengali-Regular.ttf', 'NotoSerifBengali-Thin.ttf', 'NotoSerifDevanagari-Black.ttf', 'NotoSerifDevanagari-Bold.ttf', 'NotoSerifDevanagari-Light.ttf', 'NotoSerifDevanagari-Medium.ttf', 'NotoSerifDevanagari-Regular.ttf', 'NotoSerifDevanagari-Thin.ttf', 'NotoSerifDisplay-Black.ttf', 'NotoSerifDisplay-BlackItalic.ttf', 'NotoSerifDisplay-Bold.ttf', 'NotoSerifDisplay-BoldItalic.ttf', 'NotoSerifDisplay-Italic.ttf', 'NotoSerifDisplay-Light.ttf', 'NotoSerifDisplay-LightItalic.ttf', 'NotoSerifDisplay-Medium.ttf', 'NotoSerifDisplay-MediumItalic.ttf', 'NotoSerifDisplay-Regular.ttf', 'NotoSerifDisplay-Thin.ttf', 'NotoSerifDisplay-ThinItalic.ttf', 'NotoSerifDogra-Regular.ttf', 'NotoSerifEthiopic-Black.ttf', 'NotoSerifEthiopic-Bold.ttf', 'NotoSerifEthiopic-Light.ttf', 'NotoSerifEthiopic-Medium.ttf', 'NotoSerifEthiopic-Regular.ttf', 'NotoSerifEthiopic-Thin.ttf', 'NotoSerifGeorgian-Black.ttf', 'NotoSerifGeorgian-Bold.ttf', 'NotoSerifGeorgian-Light.ttf', 'NotoSerifGeorgian-Medium.ttf', 'NotoSerifGeorgian-Regular.ttf', 'NotoSerifGeorgian-Thin.ttf', 'NotoSerifGujarati-Black.ttf', 'NotoSerifGujarati-Bold.ttf', 'NotoSerifGujarati-Light.ttf', 'NotoSerifGujarati-Medium.ttf', 'NotoSerifGujarati-Regular.ttf', 'NotoSerifGujarati-Thin.ttf', 'NotoSerifGurmukhi-Black.ttf', 'NotoSerifGurmukhi-Bold.ttf', 'NotoSerifGurmukhi-Light.ttf', 'NotoSerifGurmukhi-Medium.ttf', 'NotoSerifGurmukhi-Regular.ttf', 'NotoSerifGurmukhi-Thin.ttf', 'NotoSerifHebrew-Black.ttf', 'NotoSerifHebrew-Bold.ttf', 'NotoSerifHebrew-Light.ttf', 'NotoSerifHebrew-Medium.ttf', 'NotoSerifHebrew-Regular.ttf', 'NotoSerifHebrew-Thin.ttf', 'NotoSerifKannada-Black.ttf', 'NotoSerifKannada-Bold.ttf', 'NotoSerifKannada-Light.ttf', 'NotoSerifKannada-Medium.ttf', 'NotoSerifKannada-Regular.ttf', 'NotoSerifKannada-Thin.ttf', 'NotoSerifKhmer-Black.ttf', 'NotoSerifKhmer-Bold.ttf', 'NotoSerifKhmer-Light.ttf', 'NotoSerifKhmer-Medium.ttf', 'NotoSerifKhmer-Regular.ttf', 'NotoSerifKhmer-Thin.ttf', 'NotoSerifLao-Black.ttf', 'NotoSerifLao-Bold.ttf', 'NotoSerifLao-Light.ttf', 'NotoSerifLao-Medium.ttf', 'NotoSerifLao-Regular.ttf', 'NotoSerifLao-Thin.ttf', 'NotoSerifMalayalam-Black.ttf', 'NotoSerifMalayalam-Bold.ttf', 'NotoSerifMalayalam-Light.ttf', 'NotoSerifMalayalam-Medium.ttf', 'NotoSerifMalayalam-Regular.ttf', 'NotoSerifMalayalam-Thin.ttf', 'NotoSerifMyanmar-Black.ttf', 'NotoSerifMyanmar-Bold.ttf', 'NotoSerifMyanmar-Light.ttf', 'NotoSerifMyanmar-Medium.ttf', 'NotoSerifMyanmar-Regular.ttf', 'NotoSerifMyanmar-Thin.ttf', 'NotoSerifSinhala-Black.ttf', 'NotoSerifSinhala-Bold.ttf', 'NotoSerifSinhala-Light.ttf', 'NotoSerifSinhala-Medium.ttf', 'NotoSerifSinhala-Regular.ttf', 'NotoSerifSinhala-Thin.ttf', 'NotoSerifTamil-Black.ttf', 'NotoSerifTamil-Bold.ttf', 'NotoSerifTamil-Light.ttf', 'NotoSerifTamil-Medium.ttf', 'NotoSerifTamil-Regular.ttf', 'NotoSerifTamil-Thin.ttf', 'NotoSerifTamilSlanted-Black.ttf', 'NotoSerifTamilSlanted-Bold.ttf', 'NotoSerifTamilSlanted-Light.ttf', 'NotoSerifTamilSlanted-Medium.ttf', 'NotoSerifTamilSlanted-Regular.ttf', 'NotoSerifTamilSlanted-Thin.ttf', 'NotoSerifTangut-Regular.ttf', 'NotoSerifTelugu-Black.ttf', 'NotoSerifTelugu-Bold.ttf', 'NotoSerifTelugu-Light.ttf', 'NotoSerifTelugu-Medium.ttf', 'NotoSerifTelugu-Regular.ttf', 'NotoSerifTelugu-Thin.ttf', 'NotoSerifThai-Black.ttf', 'NotoSerifThai-Bold.ttf', 'NotoSerifThai-Light.ttf', 'NotoSerifThai-Medium.ttf', 'NotoSerifThai-Regular.ttf', 'NotoSerifThai-Thin.ttf', 'NotoSerifTibetan-Black.ttf', 'NotoSerifTibetan-Bold.ttf', 'NotoSerifTibetan-Light.ttf', 'NotoSerifTibetan-Medium.ttf', 'NotoSerifTibetan-Regular.ttf', 'NotoSerifTibetan-Thin.ttf', 'OpenSans-Bold.ttf', 'OpenSans-BoldItalic.ttf', 'OpenSans-ExtraBold.ttf', 'OpenSans-ExtraBoldItalic.ttf', 'OpenSans-Italic.ttf', 'OpenSans-Light.ttf', 'OpenSans-LightItalic.ttf', 'OpenSans-Regular.ttf', 'OpenSans-SemiBold.ttf', 'OpenSans-SemiBoldItalic.ttf', 'OpenSansCondensed-Bold.ttf', 'OpenSansCondensed-Light.ttf', 'OpenSansCondensed-LightItalic.ttf', 'P052-Bold.otf', 'P052-BoldItalic.otf', 'P052-Italic.otf', 'P052-Roman.otf', 'Pothana2000.ttf', 'SagarNormal.ttf', 'Sampige.ttf', 'SourceCodePro-Black.otf', 'SourceCodePro-BlackIt.otf', 'SourceCodePro-Bold.otf', 'SourceCodePro-BoldIt.otf', 'SourceCodePro-ExtraLight.otf', 'SourceCodePro-ExtraLightIt.otf', 'SourceCodePro-It.otf', 'SourceCodePro-Light.otf', 'SourceCodePro-LightIt.otf', 'SourceCodePro-Medium.otf', 'SourceCodePro-MediumIt.otf', 'SourceCodePro-Regular.otf', 'SourceCodePro-Semibold.otf', 'SourceCodePro-SemiboldIt.otf', 'SourceCodeVariable-Italic.otf', 'SourceCodeVariable-Roman.otf', 'SourceHanSansCN-Bold.otf', 'SourceHanSansCN-ExtraLight.otf', 'SourceHanSansCN-Heavy.otf', 'SourceHanSansCN-Light.otf', 'SourceHanSansCN-Medium.otf', 'SourceHanSansCN-Normal.otf', 'SourceHanSansCN-Regular.otf', 'SourceHanSerifCN-Bold.otf', 'SourceHanSerifCN-ExtraLight.otf', 'SourceHanSerifCN-Heavy.otf', 'SourceHanSerifCN-Light.otf', 'SourceHanSerifCN-Medium.otf', 'SourceHanSerifCN-Regular.otf', 'SourceHanSerifCN-SemiBold.otf', 'StandardSymbolsPS.otf', 'TAMu_Kadampari.ttf', 'TAMu_Kalyani.ttf', 'TAMu_Maduram.ttf', 'TSCu_Comic.ttf', 'TSCu_Paranar.ttf', 'TSCu_Times.ttf', 'TSCu_paranarb.ttf', 'TSCu_paranari.ttf', 'URWBookman-Demi.otf', 'URWBookman-DemiItalic.otf', 'URWBookman-Light.otf', 'URWBookman-LightItalic.otf', 'URWGothic-Book.otf', 'URWGothic-BookOblique.otf', 'URWGothic-Demi.otf', 'URWGothic-DemiOblique.otf', 'Vera.ttf', 'VeraBI.ttf', 'VeraBd.ttf', 'VeraIt.ttf', 'VeraMoBI.ttf', 'VeraMoBd.ttf', 'VeraMoIt.ttf', 'VeraMono.ttf', 'VeraSe.ttf', 'VeraSeBd.ttf', 'Z003-MediumItalic.otf', 'akruti1.ttf', 'akruti1b.ttf', 'akruti2.ttf', 'akruti2b.ttf', 'andalemo.ttf', 'ani.ttf', 'arial.ttf', 'arialbd.ttf', 'arialbi.ttf', 'ariali.ttf', 'ariblk.ttf', 'comic.ttf', 'comicbd.ttf', 'cour.ttf', 'courbd.ttf', 'courbi.ttf', 'couri.ttf', 'gbolilite.ttf', 'georgia.ttf', 'georgiab.ttf', 'georgiai.ttf', 'georgiaz.ttf', 'impact.ttf', 'mal1-b.ttf', 'mal1-n.ttf', 'mal2-b.ttf', 'mal2-n.ttf', 'malayalam.ttf', 'oriya.ttf', 'padmaa-Bold-0.5.ttf', 'padmaa-Medium-0.5.ttf', 'times.ttf', 'timesbd.ttf', 'timesbi.ttf', 'timesi.ttf', 'trebuc.ttf', 'trebucbd.ttf', 'trebucbi.ttf', 'trebucit.ttf', 'verdana.ttf', 'verdanab.ttf', 'verdanai.ttf', 'verdanaz.ttf', 'webdings.ttf', 'wqy-microhei.ttc']
geemap.add_text_to_gif(in_gif, out_gif, xy=('5%', '5%'), text_sequence=1984, font_size=30, font_color='#0000ff', duration=100)
geemap.add_text_to_gif(out_gif, out_gif, xy=('30%', '85%'), text_sequence="Las Vegas", font_type="timesbd.ttf", font_size = 30, font_color='black')
geemap.show_image(out_gif)
Output()
import ee
import geemap
ee.Initialize()
# Define an area of interest geometry with a global non-polar extent.
aoi = ee.Geometry.Polygon(
[[[-179.0, 78.0], [-179.0, -58.0], [179.0, -58.0], [179.0, 78.0]]], None, False)
# Import hourly predicted temperature image collection for northern winter
# solstice. Note that predictions extend for 384 hours; limit the collection
# to the first 24 hours.
tempCol = ee.ImageCollection('NOAA/GFS0P25') \
.filterDate('2018-12-22', '2018-12-23') \
.limit(24) \
.select('temperature_2m_above_ground')
# Define arguments for animation function parameters.
videoArgs = {
'dimensions': 768,
'region': aoi,
'framesPerSecond': 10,
'crs': 'EPSG:3857',
'min': -40.0,
'max': 35.0,
'palette': ['blue', 'purple', 'cyan', 'green', 'yellow', 'red']
}
saved_gif = os.path.join(os.path.expanduser('~'), 'Downloads/temperature.gif')
geemap.download_ee_video(tempCol, videoArgs, saved_gif)
Generating URL... Downloading data from https://earthengine.googleapis.com/v1alpha/projects/earthengine-legacy/videoThumbnails/84ac4395f47114a4b179b1a2ca8623da-894f3a078a528407f12624cfb36b1836:getPixels Please wait ... The GIF image has been saved to: /home/qiusheng/Downloads/temperature.gif
geemap.show_image(saved_gif)
Output()
text = [str(n).zfill(2) + ":00" for n in range(0, 24)]
print(text)
['00:00', '01:00', '02:00', '03:00', '04:00', '05:00', '06:00', '07:00', '08:00', '09:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00', '18:00', '19:00', '20:00', '21:00', '22:00', '23:00']
out_gif = os.path.join(os.path.expanduser('~'), 'Downloads/output2.gif')
geemap.add_text_to_gif(saved_gif, out_gif, xy=('3%', '5%'), text_sequence=text, font_size=30, font_color='#ffffff')
geemap.add_text_to_gif(out_gif, out_gif, xy=('32%', '92%'), text_sequence='NOAA GFS Hourly Temperature', font_color='white')
geemap.show_image(out_gif)
Output()