The Crop_Mask_Zonal_Statistics UDF calculates Solar-Induced Fluorescence (SIF) data for U.S. counties. It uses USDA Cropland Data Layers to mask NetCDF data with GeoTiff files, allowing for crop-specific insights.
Key capabilities include:
- Computing SIF metrics (sums, means, and ratios) for specific crops (e.g., corn) and non-crop areas.
- Customizing temporal and spatial parameters such as year, month, period, and county FIPS codes.
- Outputting a GeoDataFrame containing detailed, spatially-referenced statistics.
This UDF is suitable for crop yield prediction, drought monitoring, and agricultural planning.