{ "info": { "author": "Amanda Schwantes", "author_email": "aschwantes@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# **geedataextract**\n\nThis package includes functions to download environmental and remote sensing data from Google Earth Engine, using the GEE python API. Environmental data can be extracted at the nearest pixel to a point or spatially averaged over pixels around a buffer from a point or within a polygon. Shapefiles of points or polygons must be [uploaded to GEE](https://developers.google.com/earth-engine/importing) in your [assets folder](https://code.earthengine.google.com/). Data tables will be automatically downloaded to your Google Drive. Functions exist for downloading environmental data related to land cover, topography, soil condition, climate, soil moisture (SMOS), and Landsat & MODIS vegetation indices/products. A complete tutorial in jupyter notebooks can be found [here](https://www.pbgjam.org/products#Tutorials/). This package was developed under the support of the National Aeronautics and Space Administration's Advanced Information Systems Technology Program [(award number AIST-16-0052)](https://esto.nasa.gov/files/solicitations/AIST_16/ROSES2016_AIST_A41_awards.html#swenson) and the National Science Foundation [(award number 1754443)](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1754443&HistoricalAwards=false). This package is still preliminary; we are constantly making updates and improvements. Please email me with any comments or suggestions at aschwantes@gmail.com.\n\n> suggested citation: Schwantes, Amanda M., Chase Nu\u00c3\u00b1ez. (2019). geeDataExtract. Python package version 0.0.1.\n\n### Download the GEE API\nTo use these functions you must [install the GEE python API](https://github.com/earthlab/tutorials/blob/master/documentation/intro-google-earth-engine-python-api.md). We recommend first installing [Anaconda Python 3.7](https://www.anaconda.com/distribution/) and registering for a [Google Earth Engine account](https://signup.earthengine.google.com/#!/). Then run the following commands from the Command Prompt (windows), the Terminal (mac), or the \"Anaconda Prompt\". Examples below are for Anaconda, but you can also use pip.\n\n1. Install the python API client\n```\nconda install -c conda-forge google-api-python-client\n```\n2. Install the Earth Engine Python Library\n```\nconda install -c conda-forge earthengine-api\n```\n3. Initialize the API and verify your account settings. This will open a web-browser. Login to your Gmail account and copy/paste the key from the web-browser into the Command Prompt. You will need to login to the Gmail account that you\nused to sign up for Google Earth Engine.\n```\nearthengine authenticate\n```\n4. Verify that the GEE API is working. You should not get an error by running this command.\n```\npython -c \"import ee; ee.Initialize()\"\n```\n\n### Important next steps\n* **Add a new folder to your google drive.** You will need to specify this folder name using the parameter folderOut in each function. CSV files will be downloaded in this folder. \n\n\n* **How to use your own data?** To extract values at your points/polygons of interest, you will need to upload a shapefile to your assets folder in GEE; instructions __[here](https://developers.google.com/earth-engine/importing)__.\n\n + Add an ID column to your shapefile with the name \"geeID\" before you upload your file to your assets folder. \n + Each row must have a unique ID. \n + Each row/geeID should be unique through space. Do not include duplicate points through time; time-series data will be downloaded for each unique geeID.\n + To reduce the file size of the output tables, location information is removed. The geeID field is required to restore location information.\n\n\n* **Set your username**. Each function has a parameter called \"username\", which must be specified. Your GEE username is typically your Gmail address. Look in the asset folder under users to verify [here](https://code.earthengine.google.com/).\n\n\n* **To obtain data at points or spatial averages within polygons use the parameters buf and poly.** If you want the nearest pixel to an uploaded shapefile of points, then set buf = 0 and poly = 0. If you want a spatial average from a buffer around each point, then specify a value for buf in meters. For example, poly = 0 and buf = 1000, would give a spatial average of the pixels within a 1000 m radius circle around each point in your uploaded shapefile. If you want a spatial average within polygons for an uploaded shapefile of polygons, then set buf = 0 and poly = 1.\n\n\n* **Consider using the 'scalePix' parameter**.\n\n + If you need to take a spatial average across a plot, then you will need to consider the scale of the imagery. If the size of your plot/polygon is much smaller than the spatial resolution of your imagery (scale) then reduce the scale, by using the optional parameter 'scalePix'. Or provide centroids for your plots instead of taking a spatial average. GEE functions take the weighted average within a polygon; however any pixels that are not 50% within the polygon are not included in the averaging. If your scale is much larger than your plot, all your output tables will be full of NAs.\n + Similarly, to take a value at a point, for environmental data at fine-scales, we'd recommend reducing the 'scalePix'. If the scalepix is set to the resolution of the environmental data (the default in our functions), GEE functions will often give a value of a point that is shifted by up to the value of scalePix. Therefore, if you want to avoid a point shift, then reduce 'scalePix' to a value less than the spatial resolution of the dataset (the default in our functions).\n\n### Below we provide descriptions for downloading data as well as suggested citations\n\nWhen using this python package, we have tried to include suggested citations for each of the data products. GEE is simply hosting publically available data; therefore if you use one of these functions to download a dataset you should properly give credit to the authors who created the dataset. We have provided suggested citations; however, please refer to the original websites/links to metadata for each dataset to confirm that these suggested citations are current.\n\nFurthermore, when using GEE, see this [link](https://earthengine.google.com/faq/) for a suggested citation. Currently, GEE suggests the following:\n\n> Gorelick, N., Hancher, M., Dixon, M., Ilyushchenko, S., Thau, D., & Moore, R. (2017). Google Earth Engine: Planetary-scale geospatial analysis for everyone. Remote Sensing of Environment.\n\n## Land cover\n\nThe source data for these functions is from the USGS National Land Cover Database (NLCD). The GEE ImageCollection ID is\n\"USGS/NLCD\".\n\n__GEEtcPts()__ calculates percent tree cover \n__GEEicPts()__ calculates percent impervious cover \n__GEElcPts()__ calculates land cover value at a point or a frequency table of land cover types within a polygon or buffer from a point\n\nLand cover classes can be found __[here](https://www.mrlc.gov/data/legends/national-land-cover-database-2011-nlcd2011-legend)__, and more info on the products can be found __[here](https://www.mrlc.gov/data)__.\n\nProper citations depend on the NLCD product: \n> _NLCD 2001 citation:_ Homer, C., Dewitz, J., Fry, J., Coan, M., Hossain, N., Larson, C., Herold, N., McKerrow, A., VanDriel, J.N., and Wickham, J. 2007. Completion of the 2001 National Land Cover Database for the Conterminous United States. Photogrammetric Engineering and Remote Sensing, Vol. 73, No. 4, pp 337-341. \n\n> _NLCD 2006 citation:_ Fry, J., Xian, G., Jin, S., Dewitz, J., Homer, C., Yang, L., Barnes, C., Herold, N., and Wickham, J., 2011. Completion of the 2006 National Land Cover Database for the Conterminous United States, PE&RS, Vol. 77(9):858-864. \n\n> _NLCD 2011 citation:_ Homer, C.G., Dewitz, J.A., Yang, L., Jin, S., Danielson, P., Xian, G., Coulston, J., Herold, N.D., Wickham, J.D., and Megown, K., 2015, Completion of the 2011 National Land Cover Database for the conterminous United States-Representing a decade of land cover change information. Photogrammetric Engineering and Remote Sensing, v. 81, no. 5, p. 345-354 \n\n## Topography\n\nSource data is from the SRTM Digital Elevation Data 30m product. More info found __[here](https://www2.jpl.nasa.gov/srtm/)__. The GEE ImageCollection ID is 'USGS/SRTMGL1_003'.\n\n\nThe function __GEEtopoPts()__ calculates topography metrics:\n> elevation (meters) \n> slope (radians) \n> aspect (radians) \n\nWhen calculating aspect at a point, the output will include only one value of aspect (in radians). When taking a spatial average of aspect within a plot or buffer, two metrics are computed: (1) aspect_sin: aspectSinSum and (2) aspect_cos: aspectCosSum. The circular average of aspect can then be calculated using: atan2(aspectSinSum, aspectCosSum), as described __[here](https://en.wikipedia.org/wiki/Mean_of_circular_quantities)__.\n\nCitation: \n> Farr, Tom G., et al. \"The shuttle radar topography mission.\" Reviews of geophysics 45.2 (2007).\n\n\n# Soil metrics\n\nSource data from SoilGrids250, downloaded from ftp://ftp.soilgrids.org/data/recent/\n\nThe function __GEEsoilPts()__ calculates soil metrics (depth weighted averages to 1-m) for the following:\n\n> 'oc' = Soil organic carbon content (fine earth fraction) in g per kg \n> 'ph' = Soil pH x 10 in H2O \n> 'cec' = Cation exchange capacity of soil in cmolc/kg \n> 'sand' = Sand content (50-2000 micro meter) mass fraction in % \n> 'silt' = Silt content (2-50 micro meter) mass fraction in % \n> 'cfrag' = Coarse fragments volumetric in % \n> 'clay' = Clay content (0-2 micro meter) mass fraction in % \n> 'bulkDensity' = Bulk density (fine earth) in kg / cubic-meter \n> 'soilDepth' = Absolute depth to bedrock (in cm) \n\nSuborder classes for the USDA and WRB classifications are also available. Specifying these metrics will calculate suborder class at a point or the mode within a polygon or buffer around a point. The legends for the USDA 2014 suborder classes can be found here: ftp://ftp.soilgrids.org/legends/TAXOUSDA.txt and the WRB 2006 subgroup classes can be found here: ftp://ftp.soilgrids.org/legends/TAXNWRB.txt.\n\n> 'subordersUS' = Predicted USDA 2014 suborder classes (as integers) \n> 'subordersWorld' = Predicted WRB 2006 subgroup classes (as integers) \n\nCitation:\n> Hengl, T., Mendes de Jesus, J., Heuvelink, G. B.M., Ruiperez Gonzalez, M., Kilibarda, M. et al. (2017) SoilGrids250m: global gridded soil information based on Machine Learning. PLoS ONE 12(2): e0169748. doi:10.1371/journal.pone.0169748.\n\n\n# Climate: daily, monthly, or annual average\n\nSource data from GRIDMET: University of Idaho Gridded Surface Meteorological Dataset. More info about this dataset can be found __[here](https://climate.northwestknowledge.net/METDATA/)__. The GEE ImageCollection ID is \"IDAHO_EPSCOR/GRIDMET\".\n\nThe function __GEEgridmetPtsAvg()__ calculates temporal daily, monthly, or annual averages as well as a spatial average either at a single point, within a buffer from a point or within a polygon.\n\n#### Metrics include:\n> tmax: average maximum temperature (K) \n> tmin: average minimum temperature (K) \n> vpd: average vapor pressure deficit (kPa)\n\n#### timeStep options include:\n> year: annual averages \n> month: monthly averages \n> day: daily averages \n\nBest practice when averaging across days/months is to only output 10 years at a time. Otherwise you will get a \"Computation timed out\" error message on GEE, because you're requesting to process too much data at one time.\n\nSuggested citation(s): \n> Abatzoglou J.T. and Brown T.J., A comparison of statistical downscaling methods suited for wildfire applications, International Journal of Climatology(2012) doi: http://dx.doi.org/10.1002/joc.2312.\n\n> Abatzoglou J. T., Development of gridded surface meteorological data for ecological applications and modelling, International Journal of Climatology. (2012) doi: http://dx.doi.org/10.1002/joc.3413\n\n\n# Climate: daily, monthly or annual sum\n\nSource data from GRIDMET: University of Idaho Gridded Surface Meteorological Dataset. More info about this dataset can be found __[here](https://climate.northwestknowledge.net/METDATA/)__. The GEE ImageCollection ID is \"IDAHO_EPSCOR/GRIDMET\".\n\nThe function __GEEgridmetPtsSum()__ calculates the temporal daily, monthly, or annual sum as well as a spatial average either at a single point, within a buffer from a point or within a polygon.\n\n#### Metrics include: \n> pr: precipitation amount (mm, total sum) \n> eto: Daily reference evapotranspiration (grass, mm, total sum) \n\n#### timeStep options include:\n> year: annual sum \n> month: monthly sum \n> day: daily sum \n\nBest practice when summing across months is to only output 10 years at a time. Otherwise you will get a \"Computation timed out\" error message on GEE, because you're requesting to process too much data at one time.\n\nSuggested citation(s): \n> Abatzoglou J.T. and Brown T.J., A comparison of statistical downscaling methods suited for wildfire applications, International Journal of Climatology(2012) doi: http://dx.doi.org/10.1002/joc.2312. \n\n> Abatzoglou J. T., Development of gridded surface meteorological data for ecological applications and modelling, International Journal of Climatology. (2012) doi: http://dx.doi.org/10.1002/joc.3413\n\n# Global climate: monthly average\n\nSource data from TERRACLIMATE. More info about this dataset can be found __[here](http://www.climatologylab.org/terraclimate.html)__. The GEE ImageCollection ID is \"IDAHO_EPSCOR/TERRACLIMATE\".\n\nThe function __GEEterraClimatePtsAvgMonth()__ calculates the temporal monthly average as well as a spatial average either at a single point, within a buffer from a point or within a polygon.\n\n#### Metrics include:\n> aet: Actual evapotranspiration (mm) \n> def: climatic water deficit (mm) \n> pdsi: Palmer Drought Severity Index \n> pet: reference evapotranspiration (penman-montieth, mm) \n> pr: precipitation (mm) \n> ro: runoff (mm) \n> soil: soil moisture (mm) \n> srad: Downward surface shortwave radiation (W/m2) \n> swe: snow water equivalent (mm) \n> tmmn: min temperature (deg C) \n> tmmx: max temperature (deg C) \n> vap: vapor pressure (kPa) \n> vpd: vapor pressure deficit (kPa) \n> vs: Wind-speed at 10m (m/s) \n\nBest practice when averaging across months is to only output 10 years at a time. Otherwise you will get a \"Computation timed out\" error message on GEE, because you're requesting to process too much data at one time.\n\nSuggested citation(s): \n> Abatzoglou, J.T., S.Z. Dobrowski, S.A. Parks, K.C. Hegewisch, 2018, Terraclimate, a high-resolution global dataset of monthly climate and climatic water balance from 1958-2015, Scientific Data,\n\n# Contiguous US climate (PRISM): monthly average\n\nSource data from PRISM. More info about this dataset can be found __[here](http://www.prism.oregonstate.edu/documents/PRISM_datasets.pdf)__. The GEE ImageCollection ID is \"OREGONSTATE/PRISM/AN81m\".\n\nThe function __GEEprismPtsAvgMonth()__ calculates the temporal monthly average as well as a spatial average either at a single point, within a buffer from a point or within a polygon.\n\n#### Metrics include:\n\n> ppt: \"Monthly total precipitation (including rain and melted snow)\" (mm) \n> tmean: \"Monthly average of daily mean temperature\" (deg C) \n> tmin: \"Monthly minimum temperature\" (deg C) \n> tmax: \"Monthly average of daily maximum temperature\" (deg C) \n> tdmean: \"Monthly average of daily mean dew point temperature\" (deg C) \n> vpdmin: \"Monthly average of daily minimum vapor pressure deficit\" (hPa) \t\n> vpdmax: \"Monthly average of daily maximum vapor pressure deficit\" (hPa) \n\n#### Suggested citation(s):\n\n> Daly, C., Halbleib, M., Smith, J.I., Gibson, W.P., Doggett, M.K., Taylor, G.H., Curtis, J., and Pasteris, P.A. 2008. Physiographically-sensitive mapping of temperature and precipitation across the conterminous United States. International Journal of Climatology, 28: 2031-2064 \n\n> Daly, C., J.I. Smith, and K.V. Olson. 2015. Mapping atmospheric moisture climatologies across the conterminous United States. PloS ONE 10(10):e0141140. doi:10.1371/journal.pone.0141140.\n\n# Remote Sensing Data\n\nAll the functions below can be used to download remote sensing data. Unless otherwise specified, each function has a parameter called timeStep, where you can specify the type of temporal averaging. Options include: \n\n 'lowest' for no temporal averaging\n 'month' for monthly time-step\n 'year' for annual time-steps\n\nCaution, if you select 'lowest' for no temporal averaging then it may take a very long time to calculate your time-series.\n\nAlso, if you take monthly or annual averages, we are not interpolating before averaging. Therefore, in cloudy areas, this may not be good practice. Instead, use the lowest or monthly time-step for averaging and either exclude data points when there is too much missing data, and/or take averages after interpolating the missing data.\n\n## Soil Moisture from SMOS\n\nSource data from: NASA-USDA Global Soil Moisture Data. The GEE ImageCollection ID is \"NASA_USDA/HSL/soil_moisture\".\n\nThe __GEEsmos()__ function calculates the temporal average as well as a spatial average either at a single point, within a buffer from a point or within a polygon.\n\n#### Metrics include the following: [links provide variable descriptions] \n> 'ssm' = __[Surface soil moisture (mm)](https://ipad.fas.usda.gov/cropexplorer/description.aspx?legendid=352)__ \n> 'susm' = __[Subsurface soil moisture (mm)](https://ipad.fas.usda.gov/cropexplorer/description.aspx?legendid=353)__ \n> 'smp' = __[Soil moisture profile (fraction, 0-1)](https://ipad.fas.usda.gov/cropexplorer/description.aspx?legendid=354)__\n\n#### Suggested citation(s)\n\n> I. E. Mladenova, J.D. Bolten, W.T. Crow, M.C. Anderson, C.R. Hain, D.M. Johnson, R. Mueller(2017). Intercomparison of Soil Moisture, Evaporative Stress, and Vegetation Indices for Estimating Corn and Soybean Yields Over the U.S., IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, vol. 10, no. 4, pp. 1328-1343, doi: 10.1109/JSTARS.2016.2639338.\n\n> Bolten, J., and W. T. Crow (2012). Improved prediction of quasi-global vegetation conditions using remotely-sensed surface soil moisture, Geophysical Research Letters, 39 (L19406).\n\n> Bolten, J., W.T. Crow, X. Zhan, T.J. Jackson, and C.A. Reynolds (2010). Evaluating the Utility of Remotely Sensed Soil Moisture Retrievals for Operational Agricultural Drought Monitoring IEEE Trans. Geosci. Remote Sens., 3(1), 57-66. \n\n## Landsat Vegetation Indices\n\nSource data from: USGS Landsat 4,5,7,& 8 Surface Reflectance Tier 1 products. The GEE ImageCollection ID is 'LANDSAT/LT04/C01/T1_SR' (Landsat 4), 'LANDSAT/LT05/C01/T1_SR' (Landsat 5), 'LANDSAT/LE07/C01/T1_SR' (Landsat 7), and 'LANDSAT/LC08/C01/T1_SR' (Landsat 8). Please see Landsat surface reflectance product guides for [Landsat 4-7](https://www.usgs.gov/media/files/landsat-4-7-surface-reflectance-code-ledaps-product-guide) and [Landsat 8](https://www.usgs.gov/media/files/landsat-8-surface-reflectance-code-lasrc-product-guide).\n\nThe __GEEviLandsat()__ function calculates the temporal average as well as a spatial average either at a single point, within a buffer from a point or within a polygon.\n\n#### The following vegetation indices can be selected:\n\n> 'NDVI' = Normalized Difference Vegetation Index (NIR-RED)/(NIR+RED) \n> 'NDWI'; = Normalized Difference Water Index (NIR-SWIR)/(NIR+SWIR) \n> 'NBR'; = Normalized Difference Burn Ratio (NIR-SWIR)/(NIR+SWIR)\n\nThis function relies on data from the surface reflectance product (atmospheric correction has already been applied). Pixels that have clouds or cloud shadows are removed before temporal averaging, using the QC layer specific to each pixel within an image in the time series.\n\nThe following Landsat satellites can be selected. Remember, each sensor has a unique time-period: \n\n> L4: Landsat 4 images taken from Aug 22, 1982 to Dec 14, 1993 \n> L5: Landsat 5 images taken from Jan 1, 1984 to May 5, 2012 \n> L7: Landsat 7 images taken from Jan 1, 1999 to present \n> L8: Landsat 8 images taken from Apr 11, 2013 to present \n\nSuggested citations:\n\n> Landsat Surface Reflectance products courtesy of the U.S. Geological Survey Earth Resources Observation and Science Center. \n\n> Masek, J.G., Vermote, E.F., Saleous N.E., Wolfe, R., Hall, F.G., Huemmrich, K.F., Gao, F., Kutler, J., and Lim, T-K. (2006). A Landsat surface reflectance dataset for North America, 1990\u00e2\u20ac\u201c2000. IEEE Geoscience and Remote Sensing Letters 3(1):68-72. http://dx.doi.org/10.1109/LGRS.2005.857030.\n\n## MODIS Phenology\n\nSource data from NASA's MCD12Q2.005 Land Cover Dynamics Yearly L3 Global 500 m product. More info can be found __[here](https://lpdaac.usgs.gov/products/mcd12q2v005/)__. The GEE ImageCollection ID is \"MODIS/MCD12Q2\".\n\nThe function __GEEphenMODIS__ calculates the spatial average either at a single point, within a buffer from a point or within a polygon. This product has an annual time-step so no temporal averaging can be specified. Also, we have not removed poor quality data using the QC layer, because the layer is \"not performing as intended\". Data is currently available from 2001-2014. \n\n#### The following metrics can be selected:\n\n> GreenInc: Days since Jan 1, 2000 that correspond to vegetation greenup \n> GreenMax: Days since Jan 1, 2000 that correspond to vegetation maturity \n> GreenDec: Days since Jan 1, 2000 that correspond to vegetation senescence \n> GreenMin: Days since Jan 1, 2000 that correspond to vegetation dormancy \n\nSuggested citation:\n> Friedl, M., Gray, J., Sulla-Menashe, D. (2009). MCD12Q2 MODIS/Terra+Aqua Land Cover Dynamics Yearly L3 Global 500m SIN Grid V005. NASA EOSDIS Land Processes DAAC.\n\nAlso, click __[here](https://lpdaac.usgs.gov/citing_our_data)__ for additional suggestions on how to cite this product.\n\n## MODIS LAI and FPAR\n\nSource data from NASA's MCD15A3H.006 MODIS Leaf Area Index/FPAR 4-Day Global 500m product. This product considers data from both sensors Terra and Aqua. More info can be found __[here](https://lpdaac.usgs.gov/products/mcd15a3hv006/)__. The GEE ImageCollection ID is \"MODIS/006/MCD15A3H\".\n\nThe function __GEElaiMODIS()__, calculates the temporal average of LAI and fpar as well as a spatial average either at a single point, within a buffer from a point or within a polygon.\n\n#### The following metrics can be selected:\n> Fpar: 'FPAR absorbed by the green elements of a vegetation canopy' 400-700 nm wavelength \n> Lai: 'One-sided green leaf area per unit ground area' \n\nUse the QC parameter to specify if only good quality pixels should be included in averaging using the QC flags specific for each pixel within an image.\n\n> None: no masking of poor quality data\n\n> Op1: We only included pixels that satisfied the following conditions: (1) 'Main (RT) method used with no saturation, best result possible', (2) 'Significant clouds NOT present (clear)', and (3) 'No or low atmospheric aerosol levels detected', following the suggested filtering steps from __[Ma et al, _RSE_, 2014](https://www.sciencedirect.com/science/article/pii/S0034425714003228)__.\n\n> Op2: We only included pixels that were of good quality, following __[Li et al, RSE, 2018](https://www.sciencedirect.com/science/article/pii/S0034425717304467)__. \n\n> Op3: We only included pixels that satisfied the following conditions: (1) Main (RT) method used with or without saturation, (2) 'Significant clouds NOT present (clear)', following, __[Hovi et al, 2017](https://www.sciencedirect.com/science/article/pii/S0168192317302770)__. \n\n\nClick __[here](https://lpdaac.usgs.gov/citing_our_data)__ for suggestions on how to cite this product.\n\n# MODIS NDVI and EVI\n\nSource data from NASA's MOD13Q1.006 Terra Vegetation Indices 16-Day Global 250m product. This product considers data only from the Terra sensor. More info can be found __[here](https://lpdaac.usgs.gov/products/mod13q1v006/)__. The GEE ImageCollection ID is \"MODIS/006/MOD13Q1\".\n\nThe function __GEEviMODIS()__ calculates the temporal average of NDVI and EVI as well as a spatial average either at a single point, within a buffer from a point or within a polygon.\n\n#### The following metrics can be selected:\n\n> 'NDVI' = Normalized Difference Vegetation Index \n> 'EVI' = Enhanced Vegetation Index\n\nUse the QC parameter to specify if only good quality pixels should be included in averaging using the QC flags specific for each pixel within an image.\n\n> None: no masking of poor quality data\n\n> Op1: We only included pixels that satisfied the following conditions: (1) quality = good or other, (2) usefulness < 12 (3) Aerosol Quantity equal to low or intermediate and (4) zero for the following flags: Adjacent cloud, Mixed clouds, & Possible shadow. We followed the filtering recommendations of __[Samanda et al, _GRL_ 2010](https://agupubs.onlinelibrary.wiley.com/doi/epdf/10.1029/2009GL042154)__ and __[Fensholt & Proud, _RSE_, 2012](https://www.sciencedirect.com/science/article/pii/S003442571200003X)__.\n\n> Op2: We only included pixels that were of good quality, following __[Li et al, RSE, 2018](https://www.sciencedirect.com/science/article/pii/S0034425717304467)__. \n\nClick __[here](https://lpdaac.usgs.gov/citing_our_data)__ for suggestions on how to cite this product.\n\n# MODIS LST\n\nSource data from NASA's MOD11A2.006 Terra Land Surface Temperature and Emissivity 8-day Global 1km and MYD11A1.006 Aqua Land Surface Temperature and Emissivity 8-day Global 1km products. More information can be found __[here](https://lpdaac.usgs.gov/products/mod11a2v006/)__ for MOD11A2 and __[here](https://lpdaac.usgs.gov/products/myd11a2v006/)__ for MYD11A2. The GEE ImageCollection IDs are \"MODIS/006/MOD11A2\" and \"MODIS/006/MYD11A2\".\n\nThe function __GEElstMODIS()__ calculates the temporal average of Land Surface Temperature (LST) as well as a spatial average either at a single point, within a buffer from a point or within a polygon.\n\n#### The following metrics can be selected:\n\n> 'day1030' = Land surface temperature at ~1030 local time from Terra (MOD) \n> 'day1330' = Land surface temperature at ~1330 local time from Aqua (MYD) \n> 'night2230' = Land surface temperature at ~2230 local time from Terra (MOD) \n> 'night0130' = Land surface temperature at ~0130 local time from Aqua (MYD) \n\nUse the QC parameter to specify if only good quality pixels should be included in averaging using the QC flags specific for each pixel within an image.\n\n> None: no masking of poor quality data\n\n> Op1: We only included pixels that satisfied the following conditions: (1) 'LST produced, good quality', (2) 'Good data quality', (3) 'Average emissivity error \u00e2\u2030\u00a4 0.02', and (4) 'Average LST error \u00e2\u2030\u00a4 2K', following the suggested filtering steps from __[Ma et al, _RSE_, 2014](https://www.sciencedirect.com/science/article/pii/S0034425714003228)__.\n\nClick __[here](https://lpdaac.usgs.gov/citing_our_data)__ for suggestions on how to cite this product.\n\n# TRMM 3B43: Monthly Precipitation Estimates\n\nThe function __GEEmonthTRMM()__ calculates global average precipitation rate (mm/hr) per month, taking a spatial average either at a single point, within a buffer from a point or within a polygon. More information can be found __[here](https://trmm.gsfc.nasa.gov/3b43.html)__. The GEE ImageCollection ID is \"TRMM/3B43V7\".\n\nCitations:\n\n> Adler, R.F., G.J. Huffman, A. Chang, R. Ferraro, P. Xie, J. Janowiak, B. Rudolf, U. Schneider, S. Curtis, D. Bolvin, A. Gruber, J. Susskind, P. Arkin, E.J. Nelkin, 2003: The Version 2 Global Precipitation Climatology Project (GPCP) Monthly Precipitation Analysis (1979-Present). J. Hydrometeor., 4(6), 1147-1167. \n\n> Huffman, G.J., 1997: \"Estimates of Root-Mean-Square Random Error for Finite Samples of Estimated Precipitation\", J. Appl. Meteor., 1191-1201. \n\n> Huffman, G.J., 2012: Algorithm Theoretical Basis Document (ATBD) Version 3.0 for the NASA Global Precipitation Measurement (GPM) Integrated Multi-satellite Retrievals for GPM (I-MERG). GPM Project, Greenbelt, MD, 29 pp. \n\n> Huffman, G.J., R.F. Adler, P. Arkin, A. Chang, R. Ferraro, A. Gruber, J. Janowiak, A. McNab, B. Rudolph, U. Schneider, 1997: The Global Precipitation Climatology Project (GPCP) Combined Precipitation Dataset, Bul. Amer. Meteor. Soc., 78, 5-20. \n\n> Huffman, G.J., R.F. Adler, D.T. Bolvin, G. Gu, E.J. Nelkin, K.P. Bowman, Y. Hong, E.F. Stocker, D.B. Wolff, 2007: The TRMM Multi-satellite Precipitation Analysis: Quasi-Global, Multi-Year, Combined-Sensor Precipitation Estimates at Fine Scale. J. Hydrometeor.,8 (1), 38-55. \n\n> Huffman, G.J., R.F. Adler, B. Rudolph, U. Schneider, P. Keehn, 1995: Global Precipitation Estimates Based on a Technique for Combining Satellite-Based Estimates, Rain Gauge Analysis, and NWP Model Precipitation Information, J. Clim., 8, 1284-1295. \n\n# NEX-GDDP: NASA Earth Exchange Global Daily Downscaled Climate Projections\n\nGlobal downscaled climate scenarios for 21 General Circulation Models (GCMs) from CMIP5. Emission scenarios include options for representative concentration pathways (RCPs) 4.5 and 8.5 from 2006-2099, as well as historical retrospective model runs from 1950-2006. More info can be found __[here](https://nex.nasa.gov/nex/projects/1356/)__. The GEE ImageCollection ID is \"NASA/NEX-GDDP\".\n\nThe function __GEEnasaNEXGDDP()__ provides future climate projections for precipitation and temperature (~25-km spatial resolution) as well as a spatial average either at a single point, within a buffer from a point or within a polygon.\n\nThe following metrics can be selected:\n\n> 'pr' = sum of precipitation, liquid and solid phases (kg/(m^2*s)) \n> 'tasmin' = mean daily min near surface air temperature (K) \n> 'tasmax' = mean daily max near surface air temperature (K) \n\nThe following scenarios can be selected:\n\n> 'historical' \n> 'rcp45' \n> 'rcp85' \n\nThe following models can be selected:\n\n> 'ACCESS1-0' \n> 'bcc-csm1-1' \n> 'BNU-ESM' \n> 'CanESM2' \n> 'CCSM4' \n> 'CESM1-BGC' \n> 'CNRM-CM5' \n> 'CSIRO-Mk3-6-0' \n> 'GFDL-CM3' \n> 'GFDL-ESM2G' \n> 'GFDL-ESM2M' \n> 'inmcm4' \n> 'IPSL-CM5A-LR' \n> 'IPSL-CM5A-MR' \n> 'MIROC-ESM' \n> 'MIROC-ESM-CHEM' \n> 'MIROC5' \n> 'MPI-ESM-LR' \n> 'MPI-ESM-MR' \n> 'MRI-CGCM3' \n> 'NorESM1-M' \n\nBest practice when averaging across months is to only output 10 years at a time. Otherwise you will get a \"Computation timed out\" error message on GEE, because you're requesting to process too much data at one time.\n\nSuggested Citations:\n\n> Thrasher, B., Maurer, E. P., McKellar, C., & Duffy, P. B., 2012: Technical Note: Bias correcting climate model simulated daily temperature extremes with quantile mapping. Hydrology and Earth System Sciences, 16(9), 3309-3314. \n\nSuggested acknowledgement\n\n> Climate scenarios used were from the NEX-GDDP dataset, prepared by the Climate Analytics Group and NASA Ames Research Center using the NASA Earth Exchange, and distributed by the NASA Center for Climate Simulation (NCCS).\n\n# Downscaled Climate Models for United States- Multivariate Adaptive Constructed Analogs (MACAv2-METDATA ):\n\nDownscaled climate scenarios for 20 Global Climate Models (GCMs) from CMIP5 for the contiguous US. Emission scenarios include options for representative concentration pathways (RCPs) 4.5 and 8.5 from 2006-2099, as well as historical retrospective model runs from 1950-2005. More info can be found __[here](https://climate.northwestknowledge.net/MACA/index.php)__. The GEE ImageCollection ID is \"IDAHO_EPSCOR/MACAv2_METDATA_MONTHLY\".\n\nThe function __GEEmacaGCMs()__ provides future climate projections (~4-km spatial resolution) across the continental US as well as a spatial average either at a single point, within a buffer from a point or within a polygon.\n\n\nThe following metrics can be selected:\n> tasmax: 'Monthly average of maximum daily temperature near surface' (K) \n> tasmin: 'Monthly average of minimum daily temperature near surface' (K) \n> huss: 'Monthly average of mean daily specific humidity near surface' (kg/kg) \n> pr: 'Total monthly precipitation amount at surface' (mm) \n> rsds: 'Monthly average of mean daily downward shortwave radiation at surface' (W/m^2) \t\n> was: 'Monthly average of mean daily near surface wind speed' (m/s) \n\nThe following scenarios can be selected:\n> rcp85 \n> rcp45 \n> historical \n\nThe following models can be selected:\n> bcc-csm1-1 \n> bcc-csm1-1-m \n> BNU-ESM \n> CanESM2 \n> CCSM4 \n> CNRM-CM5 \n> CSIRO-Mk3-6-0 \n> GFDL-ESM2M \n> GFDL-ESM2G \n> HadGEM2-ES365 \n> HadGEM2-CC365 \n> inmcm4 \n> IPSL-CM5A-LR \n> IPSL-CM5A-MR \n> IPSL-CM5B-LR \n> MIROC5 \n> MIROC-ESM \n> MIROC-ESM-CHEM \n> MRI-CGCM3 \n> NorESM1-M \n\nBest practice when averaging across months is to only output 10 years at a time. Otherwise you will get a \"Computation timed out\" error message on GEE, because you're requesting to process too much data at one time.\n\nCitations:\n\n> Abatzoglou J.T. and Brown T.J., A comparison of statistical downscaling methods suited for wildfire applications, International Journal of Climatology(2012) doi: https://doi.org/10.1002/joc.2312. \n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ASchwantes/geedataextract", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "geedataextract", "package_url": "https://pypi.org/project/geedataextract/", "platform": "", "project_url": "https://pypi.org/project/geedataextract/", "project_urls": { "Homepage": "https://github.com/ASchwantes/geedataextract" }, "release_url": "https://pypi.org/project/geedataextract/0.0.3/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Download environmental and remote sensing data from Google Earth Engine for uploaded point or polygon shapefiles", "version": "0.0.3" }, "last_serial": 5397545, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a68a555eba6ddcfb3a19bf7303e84789", "sha256": "18581011c6984f09d09dc7ffdf574299a808050e4ceb64dbf05ec3228072868c" }, "downloads": -1, "filename": "geedataextract-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a68a555eba6ddcfb3a19bf7303e84789", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 25979, "upload_time": "2019-05-19T19:38:18", "url": "https://files.pythonhosted.org/packages/c9/de/7d838d445bee636de4c757d265d61defa1ca1d8d7260175e338c29e12cdc/geedataextract-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ebd58d035874fb43e45ff0136464a62d", "sha256": "35f3fc5e3bd4c2ca6848b49dca448cc06d5dca2b2e955d34c7109cd092ee5588" }, "downloads": -1, "filename": "geedataextract-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ebd58d035874fb43e45ff0136464a62d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 44530, "upload_time": "2019-05-19T19:38:20", "url": "https://files.pythonhosted.org/packages/d4/d4/22d8bbea59d1ed7cac66112d3e61014641dde2c050b5d0d25507a22e347f/geedataextract-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "b9e0a3a8c8780a5e65431751929f0519", "sha256": "562c954443938678cc6602577af5228c36989bd556b32642e1008e0d6e7a854d" }, "downloads": -1, "filename": "geedataextract-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b9e0a3a8c8780a5e65431751929f0519", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 26500, "upload_time": "2019-06-13T19:13:40", "url": "https://files.pythonhosted.org/packages/a9/48/b638d63785fe25663c943905c6c54abbbd5f74b0cd29e3c055d12f425b4f/geedataextract-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8e36d9d828e71b95a85d3ce39e57ae30", "sha256": "2d24b07dcb800e035f5789e1513cd054f04080c72812c535d9e06d4a867b5de3" }, "downloads": -1, "filename": "geedataextract-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8e36d9d828e71b95a85d3ce39e57ae30", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 44939, "upload_time": "2019-06-13T19:13:42", "url": "https://files.pythonhosted.org/packages/36/2e/307aca3847ad35e14f1cb1dce8b177a02d50d9ad8276995c9a4368e2f68e/geedataextract-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "324cf1d3556270121abe90120814c9bd", "sha256": "e74ccac98be55697cdb4717080179fade8f9ba2b2d5998788f9e98ccfbcc7f16" }, "downloads": -1, "filename": "geedataextract-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "324cf1d3556270121abe90120814c9bd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 40131, "upload_time": "2019-06-13T20:13:21", "url": "https://files.pythonhosted.org/packages/99/0d/c86b2c46ea277cbebb933733f6c9ec4ceac44fdc0a81a67ffef286bcf527/geedataextract-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "affedb553c2b1bc8c79189bf66a02f78", "sha256": "93f9fecabbcdf059a661e2600d63c3952f50fa5984ab19652fe29a0c8f3ecfa7" }, "downloads": -1, "filename": "geedataextract-0.0.3.tar.gz", "has_sig": false, "md5_digest": "affedb553c2b1bc8c79189bf66a02f78", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 44916, "upload_time": "2019-06-13T20:13:44", "url": "https://files.pythonhosted.org/packages/c4/d5/beb7e4b81af165a86047344642314f0fd765772e8e48bac6b2e509788225/geedataextract-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "324cf1d3556270121abe90120814c9bd", "sha256": "e74ccac98be55697cdb4717080179fade8f9ba2b2d5998788f9e98ccfbcc7f16" }, "downloads": -1, "filename": "geedataextract-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "324cf1d3556270121abe90120814c9bd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 40131, "upload_time": "2019-06-13T20:13:21", "url": "https://files.pythonhosted.org/packages/99/0d/c86b2c46ea277cbebb933733f6c9ec4ceac44fdc0a81a67ffef286bcf527/geedataextract-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "affedb553c2b1bc8c79189bf66a02f78", "sha256": "93f9fecabbcdf059a661e2600d63c3952f50fa5984ab19652fe29a0c8f3ecfa7" }, "downloads": -1, "filename": "geedataextract-0.0.3.tar.gz", "has_sig": false, "md5_digest": "affedb553c2b1bc8c79189bf66a02f78", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 44916, "upload_time": "2019-06-13T20:13:44", "url": "https://files.pythonhosted.org/packages/c4/d5/beb7e4b81af165a86047344642314f0fd765772e8e48bac6b2e509788225/geedataextract-0.0.3.tar.gz" } ] }