Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(0) | Call(0) | Derive(0) | Import(0)
float(x) -> floating point number Convert a string or number to a floating point number, if possible.
src/g/d/GDAY-HEAD/src/mate.py GDAY(Download)
# convert MJ m-2 d-1 to -> umol m-2 day-1 # 0.5 ratio of PAR to SW x MJ_TO_MOL (4.6) = 2.3 conv = const.RAD_TO_PAR * const.MJ_TO_MOL * const.MOL_TO_UMOL par = self.met_data['sw_rad'][day] * conv
src/g/d/GDAY-HEAD/src/mate_with_von_caem.py GDAY(Download)
else: # convert MJ m-2 d-1 to -> umol m-2 day-1 conv = const.RAD_TO_PAR * const.MJ_TO_MOL * const.MOL_TO_UMOL par = self.met_data['sw_rad'][day] * conv