1 / 4

Global oppvarming

Global oppvarming. Mål: Vi skal lage en enkel database med temperaturdata fra 1770 til i dag. Deretter tilby et brukergrensesnitt mot databasen. Mål. Vi skal tilby et brukergrensesnitt mot en temperaturdatabase Databasen gir oss år, dag og snittemperaturen for hver dag i hver måned.

azana
Download Presentation

Global oppvarming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Global oppvarming Mål: Vi skal lage en enkel database med temperaturdata fra 1770 til i dag. Deretter tilby et brukergrensesnitt mot databasen.

  2. Mål • Vi skal tilby et brukergrensesnitt mot en temperaturdatabase • Databasen gir oss år, dag og snittemperaturen for hver dag i hver måned. • Gjennom dette skal brukeren kunne få beregnet gjennomsnittstemperatur for en periode og en måned.

  3. Data • http://www.metoffice.gov.uk/hadobs/hadcet/data/download.html • Hadley Centre Central England Temperature (HadCET) dataset • The CET dataset is the longest instrumental record of temperature in the world. The mean, minimum and maximum datasets are updated monthly, with data for a month usually available by the 3rd of the next month. A provisional CET value for the current month is calculated on a daily basis. The mean daily data series begins in 1772 and the mean monthly data in 1659. Mean maximum and minimum daily and monthly data are also available, beginning in 1878. • Brief description of the data • These daily and monthly temperatures are representative of a roughly triangular area of the United Kingdom enclosed by Lancashire, London and Bristol. The monthly series, which begins in 1659, is the longest available instrumental record of temperature in the world. The daily series begins in 1772. Manley (1953,1974) compiled most of the monthly series, covering 1659 to 1973. These data were updated to 1991 by Parker et al (1992), when they calculated the daily series. Both series are now kept up to date by the Climate Data Monitoring section of the Hadley Centre, Met Office. Since 1974 the data have been adjusted to allow for urban warming.

  4. Metode • Last ned filen. Lagre denne som en tekstfil. • Lag en funksjon som initialiserer databasen, dvs. leser tekstfilen og oppretter en tabell med felt for år, dag, måned og temperatur • Lag funksjoner der brukeren kan velge plukke ut en periode (fra år, til år, måned) og få beregnet snitt-temperaturen, høyeste eller laveste temperatur for denne perioden. • For å kunne sammenligne data fra forskjellige periodene skal resultatene lagres i en tabell som vises på skjermen.

More Related