From 8360ab4678e010b0f95b99636edf48af25d05fdb Mon Sep 17 00:00:00 2001 From: "Brandon N. Benton" Date: Wed, 21 Aug 2024 21:31:53 -0600 Subject: [PATCH] doc string with cloud type labels --- farms/__init__.py | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/farms/__init__.py b/farms/__init__.py index 91b2d68..78b4bf3 100644 --- a/farms/__init__.py +++ b/farms/__init__.py @@ -1,8 +1,28 @@ # -*- coding: utf-8 -*- """ FARMS package + +Note: +---- +cloud_types: + "'N/A': -15, + 'Clear': 0, + 'Probably Clear': 1, + 'Fog': 2, + 'Water': 3, + 'Super-Cooled Water': 4, + 'Mixed': 5, + 'Opaque Ice': 6, + 'Cirrus': 7, + 'Overlapping': 8, + 'Overshooting': 9, + 'Unknown': 10, + 'Dust': 11, + 'Smoke': 12" """ + import os + import pandas as pd from .version import __version__ @@ -10,7 +30,8 @@ FARMSDIR = os.path.dirname(os.path.realpath(__file__)) RADIUS = pd.read_csv( - os.path.join(FARMSDIR, 'sun_earth_radius_vector.csv')).set_index('doy') + os.path.join(FARMSDIR, "sun_earth_radius_vector.csv") +).set_index("doy") # Constant clear/cloudy integer labels for use of AllSky CLEAR_TYPES = (0, 1, 11, 12)