Did I find the right examples for you? yes no

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)

src/e/d/eden-HEAD/modules/s3db/climate.py   eden(Download)
        """
 
        import ClimateDataPortal
 
        vars = form.vars
        id = row.id
 
    import ClimateDataPortal
 
    table = current.s3db.climate_sample_table_spec
    if row:
        date = row[date]
        import ClimateDataPortal
        year, month = ClimateDataPortal.month_number_to_year_month(date)
        return "%s-%s" % (month, year)
    if row:
        date = row[date]
        import ClimateDataPortal
        year, month = ClimateDataPortal.month_number_to_year_month(date)
        return "%s-%s" % (month, year)

src/e/d/eden-HEAD/modules/ClimateDataPortal/add_monthly_aggregation_table.py   eden(Download)
# should this not be automatic on adding an observed data table?
 
import ClimateDataPortal
 
def aggregate(sample_table, Aggregation, db):

src/s/s/ssf-HEAD/modules/ClimateDataPortal/add_monthly_aggregation_table.py   ssf(Download)
# should this not be automatic on adding an observed data table?
 
import ClimateDataPortal
 
def aggregate(sample_table, Aggregation, db):