Archive

Posts Tagged ‘weather’

Noaa Weather Xml Reader

January 4th, 2012 Comments off

I want to integrate weather into my website using NOAA.

1. Here is the NOAA page: http://forecast.weather.gov/MapClick.php?site=APX& lat=44.663& lon=-84.1446
2. Here is the XML to that page: http://forecast.weather.gov/MapClick.php?lat=44.66300& lon=-84.14460& FcstType=dwml

Now what I want to do is to have PHP on my website that reads the XML from the NOAA site and create the “Forecast At A Glance”.

Categories: PHP, XML Tags: , , , , , ,

Weather-elmundo

December 26th, 2011 Comments off

I’m looking for an expert developer / webdesigner for implementation of a script (WEATHER) (component and modul, for Joomla).
It has to be the same as on the site:
http://www.elmundo.es/tiempo/index.html

The Additional Project Description:
The weather forecast should be for Germany, Austria, Switzerland

Weather Logo Desgin

December 18th, 2011 Comments off

I have uploaded the layout of the logo design I just need someone to make it website ready. The grey under the Q in Quest is a tornado. The tornado is an important feature of the logo, so please add in some of your creativity if you like but this is the basic design we need. Of course I need this transparent as I will be adding it to a banner once received the final product.

Please forward me your designs and the best I receive will be paid for.

Create A Weather Flash Application

November 25th, 2011 Comments off

Hello,

- I need a Adobe Flash movie to show weather.

- Flash movie should be in AS3 code.

- The flash movie should be only one .swf file.

- The flash movie should only need to load one or two .xml files.

- Those two .xml files should be in the localthost folder so its:

http://127.0.0.1/flash-weather.swf
http://127.0.0.1/flash-weather-data.xml

- Then i need a URL or a script i can use – so i can set a cron script to download the weather information and save it locally.

- …

Weather Page

October 23rd, 2011 Comments off

We need a weather page for a mobile site. The user inputs their city/state or a zip code and the page displays their weather.

Please show examples of what the weather page would show. There are no specific requirements. We’re looking for the best option.

Php & Google Weather Incorporate Into Website

September 10th, 2011 Comments off

I have the Google weather API & PHP script. My website is now a php script website with Google map installed. Now I need someone to incorporate this Google weather API script into my website to show weather of the place with location data from DB. A user clicks on a location and the weather of the place will be displayed on the listing page. Must be able to work immediately.

Thanks

Please see a sample http://demo.meeplace.com/business/cavaillon

Smart Phone App

August 20th, 2011 Comments off

I need a phone App for weather. I want the app to utilize 2 types of notifications….

1 – GPS , Alert will notify phone when phone is in area that a weather event is taking place. It will also need to display current Temperatures, weather forcast and current conditions, i.e. Humidity, wind speed, etc

2 – Selected City Via Zip Code or City State Name

The app will have things similar to Predicted High, Predicted Low, and different views depending on what mode phone is in.

There are many different weather apps available and I want a very unique look and function to the App.

Please include any previous Apps you have created.

If you do not have app experience, please do not apply for this project. I am an easy person to work with and I will be glad to put full escrow in account if a project is accepted.

Flash Weather Digital Signage

August 9th, 2011 Comments off

In need of a flash coder to create a 5-day weather forecast for digital signage. The output needs to be an all-inclusive .swf file(I have examples to send). The flash file will need to pull the weather forecast from the yahoo, google, or weather underground weather api’s(whichever works best). I’ll need to be able to change the city/place in the future for different locations. Graphically it doesn’t have to be anything spectacular, just clean and business like.

Tourism Articles X 24 Countries

June 2nd, 2011 Comments off

Hello,

Tourism Articles x 24 countries

Need to provide general information about the following for 24 countries:

1) culture information
2) weather and weather notifications (such as the season when there are serious weather conditions for some countries)
3) food
4) short paragraph about sightseeing in about 4-6 cities/towns/landmarks per country

1,000 words long
Needs to be 100% original material (will be checked/no rewrites or spinners)
Needs to be perfect English and grammar.

Please provide a short test paragraph.

Please make your bid for all 24 articles.

Weather Iframe Solution For Joomla Site

May 24th, 2011 Comments off

We are a local online tv station with a 5 day a week Weathercast in our 5 day a week newscast. This Weathercast is extracted from our regular video newscast and is then reposted to our weather page.

We are currently contracting with another company to use their iFrame solution. Unfortunately, their brand and ads are all over the feed and we want to have our own brand, banner rotation and YouTube video viewer on this page.

Make 2 Weather Sidebar Gadgets Cycle Through Locations

May 20th, 2011 Comments off

There are two weather gadgets for Windows sidebar that we would like to cycle through a number of locations on a timer. The two gadgets are located here: http://gallery.live.com/liveItemDetail.aspx?li=ae361e85-270c-469e-aef9-c1ea151ed070

and here: http://gallery.live.com/liveItemDetail.aspx?li=38846aa8-5030-48e7-ae01-2f0fb22c5d11

Categories: .NET, ASP, ASP.NET Tags: , , , , , ,

Weather Iframe For Joomla & WordPress Site

May 10th, 2011 Comments off

We are a local online tv station with a 5 day a week Weathercast in our 5 day a week newscast. This Weathercast is extracted from the news and is perfect for a weather page on our Joomla site. We are currently contracting with a company to use their iFrame, but the branding is for them and not us.

I would like to simply have an iFrame built that would draw the National Weather Service XML feeds and brand our products and advertisers.

Live Weather Data Widget

April 19th, 2011 Comments off

I need live weather data pulled from this URL:

http://www.bigbearmountainresorts.com/snowsummit/livedata/noname.htm

The data wanted is:
- Temp (hi/lo)
- Humidity
- Wind Speed
- Rainfall
- Current Condition (image – sun/clouds/rain etc.)
- Date/Time stamp

Script needs to be a plug and play module.

Need done by the end of today. Need to be from California or on west coast.

Australia Weather Radar Plugin For WordPress 3.1.1

April 11th, 2011 Comments off

I want a weather radar Plug-in for all the radar sites in Australia. I want exclusive re-sell rights to this plugin and will not tolerate pirating. I also want a quote to keep the plug-in update for future releases of WordPress to allow the successful bidder an opportunity for recurring income.

Create Similar Xml Feed Weather App (second)

April 10th, 2011 Comments off

I want a similar weather app to the following. It has an xml feed. I want mine similar but a little better look and feel. Will display on iphone/ipad.

http://itunes.apple.com/in/app/weather/id403692190?mt=8

You need to download the app to see. Screenshots won’t do it.

Create Similar Xml Feed Weather App

April 10th, 2011 Comments off

I want a similar weather app to the following. It has an xml feed. I want mine similar but a little better look and feel.

http://itunes.apple.com/in/app/weather-alert-usa/id314502416?mt=8

You need to download the app to see.

Astro Alignment Weather Map

February 14th, 2010 Comments off

Create a North America Daliy weather forecast map using a planetary alignment map like on www.astro.com (astro map of north america,under special charts).Program would read planet alignment once a day and show weather forecast from my baseline figured from crossings and alignments.Certain matches equal forecasts for areas..Map would then show symbols for H and L,Windy and Rain/Snow..Person will input any date in future,planet alignment comes up,program compares to baseline,then shows symbols forecasts on map

Weather Data Puller

January 13th, 2010 Comments off

I need a web page that will pull live AND FORECASTED weather data from a source such as www.accuweather.com. The type of data would be temperature, dewpoint, wind chill (real feel), wind speed and direction, barometric pressure and the data pulled would be dependent on zipcode or City, State location. There will be no forecasted value for barometric pressure. Access to this type of data would likely require a Premium Membership to AccuWeather.com. I will need to know if each user of the website would be required to pay for a membership. It is preferred not to require that.

I would also need data populated on the same web page that I would provide for two different groups of data.

After the data is loaded, there would be an associated evaluation of the data (i.e. poor {red bar}, moderate {orange bar}, good{yellow bar}, best {green bar}) that the coding would evaluate the data as described above that was pulled for each field. I would provide the logic for the code to evaluate the data.

The template of the website in .html would be plain in general and have a construct that would look similar to a 10 or 15 day forecast from a typical weather website. I have other methods of getting the background set up w/ pictures, text, etc. All I need is the “brains” of the webpage.

All bidders are required to provide a price for approval on the first submittal AND ALSO submit a price for each cycle of changes made until the product is complete and approved. The bidders can assume that the changes made after the first submittal are MINOR (which implies 10% of the time required to make the first submittal for each change).

Web Template Design And Coding

December 17th, 2009 Comments off

Our site www.weather-forecast.com requires a new template design in html/css. The site offers free 9 day weather forecasts for cities around the world, as well as webcams, weatherfinder and maps.

The requirements are as follows:

- width of main template to be no more than 1000px and accomodate all the body content seen on our current site’s pages
- left hand margin space to take 160×600 skyscraper
- header to accomodate 468×60 banner
- use existing logo, but optionally style it (fonts attached)
- the template also needs to have 3 pulldown menus incorporated in the header (see surf-forecast.com for idea) which will be for Country >> Region >> City. These can be dummy pulldowns for this project (we will insert our own javascript).
- Right hand margin 120px wide with the same content seen already at www.weather-forecast.com
- CLEAN web 2.0 appearance. Some sample ideas of websites we like below.
- footer containing a repeat of the site navigation links, copyright info and Meteo365 logo (as seen at foot of surf-forecast.com)
- project to be delivered as CSS/HTML files with assets so that we can build it to suit our content that is served by Ruby / Rails.

Please refer to our sister sites www.snow-forecast.com and www.surf-forecast.com to get an idea about how our sites work and are formatted. The site for this project is the same, but just branded for city weather.

Before commencing coding, the designer should submit designs for approval and revisions.

Design ideas:

1. as stated, refer to fucntionality of www.surf-forecast.com
2. http://99designs.com/contests/26759/entries/61
3. http://www.apple.com/

Joomla Work Today

November 18th, 2009 Comments off

Please only bid if you can do this today, Thanks.
We have migrated a PHP website to Joomla already.

1) We need to add the Newsletter Signup PHP code box from the old PHP site to the Joomla site:
( I think you can use plugin to add php code in Joomla article )

2) Weather module:
The old PHP site used a weather module from weather.com with it’s unique style to display. We want that same style maintained on the joomla site.

3) The old site has 7 pages we want copied to the New joomla site.
These pages have some special CSS DIV table styles for the layout, we want it the same. The 7 pages are already created in Joomla, just make the pages look the same.

I need this done today, Questions, please PM, Thanks

Categories: CSS, Joomla, PHP Tags: , , , , , ,

Weather Data/exif/browser Soft

October 25th, 2009 Comments off

Create a windows software and Website embed software(2 versions)..Program scans PC photo files and reads date/time on each picture.One or more files can be chosen.Program ask for zip code then pulls weather data by date (past/current) from NOAA/NWS database..Program the takes and by date/month or year (options)..CReates trend/correlation graphs for 10 differnt weather factors..Bar graphs and printing option in program..Parameters on graphs available

Satellite Weather Images

September 28th, 2009 Comments off

I’m trying to fetch the image from this web page:
http://adds.aviationweather.gov/satellite/

When you click on LAS you get this web page:
http://adds.aviationweather.gov/satellite/displaySat.php?region=LAS&isingle=single&itype=vis

I’m trying to fetch just the .jpg image from the web page and need a php script that can do that for all (22) of the images.

Categories: PHP Tags: , , , , , ,

Sigmet Weather Report

September 19th, 2009 Comments off

I need to fetch Text AIRMETs/SIGMET weather data from this URL: http://adds.aviationweather.gov/airmets/index.php
by checking all 11 of the checkboxes.

This returns a textual weather report back to the same URL! 00.jpg attachment.

I want to use a PHP script and fetch the same data programatically as a cron job and save the data to a variable for later parsing.

How can I fetch this data programatically using a PHP script?

Categories: PHP Tags: , , , , , ,

Weather Module

August 10th, 2009 Comments off

I am looking for someone to modify the Joomla module corephp weather which can be found here as a demo. http://www.monkeydish.com/ I have the original module.

What i need is a scaled down version of this to display the weather as seen in the attached image. The change location would have to be done in a popup preferably light box, or a drop down.

The weather text is to be small as are the icons for the weather

the space where this weather module is to appear can be seen here next the the navigation http://www.yourbeautifulgarden.co.uk/index.php

this is urgent so only bid you are are 100% confident and can do this like yesterday

Weather Grabber

August 5th, 2009 Comments off

i need weather site to grab weather info from weather.com site. current weather & 10 day weather information need to be displayed and updated every 4 hours. we have about 10 cities for the country/

script should be easy to be translated and we will be using our custom weather icon images.

Categories: PHP Tags: , ,

Web Site Redevelopment

July 2nd, 2009 Comments off

Hi There,

I had posted a similar project on this site a few months ago but the project did not go ahead. I am now relisting a similar but expanded project that I am looking at completing in the next couple of months – no rush just trying to find someone who can do it and get ideas before starting. (time frame for this is form completion about September)

I have a web site – www.geronamo.com.au. It has the basic design I would like, except I want to change a few things. It has quite a lot of flash which I can’t update myself. I currently update the rest of the web site in Contribute. Can you please look at the site and tell me if you can do the following and give me an estimate of cost:

1. Remove the Flash or make it so that I can update the flash elements. This is mainly on the home page.

2. Photos section – I would like this redone so that the photo section shows photos along the lines of something like Picasa. Have a look at my own picasa family albums and see if this would be incorporated into the site or if a similar one can be added to the site. http://picasaweb.google.com/craigandclaire. I would also like to be able to upload photos myself – I currently can’t do that. I would also like to be able top add a watermark at the bottom of each photo to make it harder to copy them.

3. I would ideally like to be able to update and edit content on the site on line instead of using Contribute. Can you enable this with the current design?

4. I don’t like the current font. I would like something a little crisper and cleaner. Can this be done throughout the whole site?

5. You’ll notice banners in the team building section. For example Hollywood Blockbusters has a banner. Can you design these? if so how much to design a banner?

6. I want to move several things around on the home page.

a. I would like to move the large flash file / pictures, which rotates with the 5 main program areas about half way down the page under the video section, and put it in place of the free teambuilding ideas blue flash banner.

b. I would like to move the ‘free teambuilding ideas’ blue flash banner to the right hand side and make it one of the smaller buttons.

c. I would like to move the 6 ‘hot programs’ to the right hand side and move all of the right hand side buttons underneath to the bottom of the home page. I would like to change some of the names of the right hand side buttons and I will let you know what those changes are later on.

7. I do not like some of the colours – for example the green and orange could be changed to different hues or even changed altogether in place of other colours. I am thinking of getting rid of green altogether from the site.

8. What do you do in the way of SEO? I would like to ensure our site is optimised for best SEO.

9. I would like certain keywords placed into the site but I unsure how to insert them.

10. I would like another 3 basic web sites created that I can link back to this site for optimisation purposes. Do you have basic web templates and how much for 3 of them.

11. I currently have the weather on the front page for 3 areas. I would like to have a seperate weather section now and remove the weather from the front page. I would like to add the weather for 3 other areas into the weather section.

12. I would like to add a blog to the site.

13. In the contact us area or make a booking area I would like people to put in a verification setting to prevent bots from taking our email addresses and using to them to add to spam lists.

14. I would like to put a little texture into the side bar menus. Instead of them being a green block of colour I would like the to have a texture something like the side bar menu in this example at this web address: http://psdvibe.com/tutorials/photo_gallery_layout/Picture%2036.jpg Note the grey side bar and how each selection has a different shade of grey.

15. I’d like to add some more text to the front page – yet to be decided what that text would be.

I think that’s about all for now. Of course there will be some ongoing maintenance and changes to the web sites so if you can provide me your charges for such activities I would appreciate it.

Please look at the www.geronamo.com.au web site before coming back to me with general prices. I have had the site developed and am generally happy with the design. I am now only interested in modifying that design and replies based on telling me if you can match my requirements above.

Kind regards

Craig Wallace

Convert Web Page To Pdf

June 8th, 2009 Comments off

This project has been reopened.

Summary:
I am using my webserver to build daily weather reports as HTML web pages. I want to convert these automatically to PDF documents and send them as email attachments to paying customers, at the same time every morning.

HTML Weather Report:
Weather/Tides Data is scraped from various web sites using Perl scripts triggered by Crontab.
Results are cached on my server as HTML code snippets.
The HTML Weather report uses CSS and includes these code snippets using SSI’s. See sample page at:
http://www.weatherbutton.co.uk/cbh/printable-report.html
I have a Linux server (NTT-Verio VPS)
In future, there will be additional weather reports for other locations.
Each report is customised for an individual customer by including their logo at the top of the page.

PDF Document:
At present, I can (manually) open the HTML page using IE, and print it to a PDF document using Adobe Acrobat on my PC.
There is a sample PDF document at:
http://www.weatherbutton.co.uk/cbh/printable-report.pdf
There should be no headers or footers. Table borders and backgrounds to be visible and fonts correctly formatted.
Printed in A4 format, single page.
Please note that HTMLDoc may have problems with CSS and SSI’s in web pages, although if essential, I can write a routine for the server to read the HTML and save it locally, with SSI’s included.

Email:
The PDF will be sent as a text email attachment to the customer, with a short message. There will be more customers in future (I hope) each with their own customised weather report.

Coding:
I am most familiar with PERL, but if PHP is necessary to get the job done, then OK. The successful bidder must sent me a genuine PDF document to demonstrate the proposed HTML to PDF conversion.

Google Weather Api Flash App

May 28th, 2009 Comments off

This is a very simple Flash / XML project. Please see the attached zip document.

Summary: Fix image issue with the Flash App displaying Google Weather.
All the code is included.

This is a rush project and due as soon as possible. Please only bid if you can work on it now. I am online to answer any of your questions.

You can use this link below as a reference if you need any help.

http://weatherdoll.com/google-weather.php

Weather Web Page

May 25th, 2009 Comments off

I need to create a weather page for my fishing website.
I believe the data can be pulled from a weather service supplier like wetaher.com or similar

I need the following data or as much of it as possible
Tidal data table or graph
Current wind strength
Current water temperature
Current temperature
Recent rainfall
7 day forecast graph

The location is Brisbane Australia
Ideally someone who has worked with XML weather data before
You can supply me the html document, I will add it to my Joomla website

Iphone Weather App

May 19th, 2009 Comments off

Hi,

I need a nice looking, simple weather application designed for the Iphone.

- Main screen: User enters a place and a time
- Next, two graphs are shown.

Probability vs. Temperature
Probability vs. Precipitation (Amount of Rain) vs. Probability

- The data for these two graphs is available from a PHP script we already have that creates XML. So, you’ll just need to pass the data the user enters into our URL, receive the XML, and then display it as graphs.

- Graphs should use colors (brigher colors for hotter temperature, cooler colors for lower temperature; dark blue colors for more precipitation and lighter colors for less precipitation)

- Should be option to show temperatures in C or F

- Should be option to show rain fall in cm or in

- Example: Main screen, user enters “Paris” and “Tomorrow”. Two graphs are shown.

Temperature graph might look like:
5%,15C
10%,16C
20%,17C
25%,18C
20%,19C
15%,20C
5%,21C,
etc.

Rainfall graph will look like:
50%,0in
25%,1in
20%,2in
5%,3in

- Navigation should be with a Tab bar at the bottom (to switch between main screen and graph modes)

Should be pretty straightforward but please ask me if you have any questions.

Also, please state whether you are also able to provide a BLACKBERRY version of the app (or only Iphone).

Please bid only for the Iphone version.

But we’d love to work with someone who we can also use again in the future to make a Blackberry version.

Thanks!

C Lemonade Stand

April 5th, 2009 Comments off

Here is what needs to be done. I have the skeleton code too which i have included right after the instructions. This program must compile in Dev C++ and it needs to be in the format in the instructions.

Objectives
1. Review use of if statements and loops.
2. Learn how to write functions given specifications.
3. Learn how to use pass by reference variables.
4. Learn how to put together a useful program given a skeleton of that program and the
functions and their specifications necessary in the implementation.

Problem: Lemonade Stand
Last summer your friend has a lemonade stand and made lots of money. You want to do the same! You have plenty of time to plan, so you thought you would be pre
pared when summer came around by writing a program to simulate your lemonade stand. The basic idea behind the simulation is as follows:

1) You will simulate 10 days of running the lemonade stand.
2) In the beginning the user gets a $20.00 loan to run the lemonade stand.
3) Before each day, the user gets an opportunity to buy bags of lemons and sugar.
4) At the beginning of each day the user receive a weather report.
5) Based on that, the user is asked to price a cup of lemonade for that day.
6) Then, the days sales are simulated. (Part of this is written for you.)
7) Afterwards, the user is prompted with a status report of how much money they have left and how many bags of lemons and sugar they have left.

What you have to do
A skeleton of the solution for this assignment is posted on WebCourses and the course web page. Please use this skeleton. You must fill in the seven functions that are left for you to fill in, as well as write the remainder of main so the program works as described above. After you write each function, you should test it before moving on. How to do this will be covered in class. Then, write your main, calling the necessary functions from it to achieve the desired functionality. main can work without declaring any new variables than the ones already declared. But, you may declare new ones if you wish.

Perhaps the biggest problem you will have will be not knowing when to make function calls. The goal of having these functions is to make the coding process more manageable. In particular, it is possible that a function might “do” something complicated, but that just really means that function makes calls to other functions that carry out a majority of that work already. In essence, if you write a function A to do a task, then don’t write out the code that also does that task in another function B. Instead call the function A from the body of function B.

References
Textbook: Chapters 9, 10, 11 Notes: Lectures 13, 14, 15, 17

Output Sample
Two full output samples of the program running will be provided on Webcourses and the course web page in the files lemonade.out and lemonade2.out.

Deliverables
You must submit your solution to the problem, lemonade.c, over WebCourses.

Restrictions
Although you may use other compilers, your program must compile and run using DevC++. Please use DevC++ to develop your program. Your program should include a header comment with the following information: your name, course number, section number, assignment title, and date. Also, make sure you include ample comments throughout your code describing the major steps in solving the problem.

Grading Details
Your program will be graded upon the following criteria:

1) Your correctness
2) Your programming style and use of white space. (Even if you have a plan and your program works perfectly, if your programming style is poor or your use of white space is poor you could get 10% or 15% deducted from your grade.)
3) Compatibility to DevC++. (If your program does not compile in this environment, you will get a sizable deduction from your grade, likely to be over 50%)

The code Skeleton:

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

// Symbolic constants to be used.

// Prices of bags of sugar and lemon, respectively.
#define PRICE_LEMON 3.50
#define PRICE_SUGAR 2.00

// Fraction of a bag of lemons and sugar used on a single cup of lemonade.
#define LEMON_PER_CUP 0.03
#define SUGAR_PER_CUP 0.04

// The initial loan the user is given to start their lemonade stand.
#define START_MONEY 20.00

// Using symbolic constants for true and false.
#define FALSE 0
#define TRUE 1

void buy_lemons(double *pLemons, double *pMoney);
void buy_sugar(double *pSugar, double *pMoney);
int weather();
int num_cups_sold(int weather, int cost);
void status_report(double cash, double num_lemons, double num_sugar, int day);
int max_sell(double num_lemons, double num_sugar);
int get_cost();
void sell_cups(double *pMoney, double *pLemons, double *pSugar);
void end_message(double money);

int main() {

int num_day, ans;
double money = START_MONEY, num_lemons = 0, num_sugar = 0;

srand(time(0));

printf(“Welcome to the Game of Lemonade!nn”);
printf(“You start the game with $%.2lf and no supplies!n”, START_MONEY);

// Loop through each day. Ask the user if they want to buy lemons. If so,
// carry out the transaction. Then ask them if they want to buy sugar.
// If so, do this transaction as well. Then, let them sell lemonade for
// the day. Finally, print a status report after they’ve sold lemonade
// at the end of the day.
for (num_day = 1; num_day <= 10; num_day++) {

}

// Print out whether or not they have lost money, broke even or gained
// money.

return 0;
}

// Pre-conditions: pLemons and pMoney are pointers to variables that store
// the user’s number of bags of lemons left and amount of
// money left.
// Post-condition: The user is given the opportunity to buy lemons. If
// successful, the number of bags of lemons and the amount
// of money the user has are adjusted accordingly.
//
// What to do in this function: If the user doesn’t have enough money to
// even buy one bag of lemons, tell them so and return. Otherwise, ask
// the user how many bags of lemons they want to buy. If they answer less
// than one, tell them they must get more and reprompt them. If they
// answer more than they can buy, tell them they don’t have that much
// money and reprompt them. Continue prompting them until they answer with
// a valid value. Then process the transaction.

void buy_lemons(double *pLemons, double *pMoney) {

}

// Pre-conditions: pSugar and pMoney are pointers to variables that store
// the user’s number of bags of lemons left and amount of
// money left.
// Post-condition: The user is given the opportunity to buy sugar. If
// successful, the number of bags of sugar and the amount
// of money the user has are adjusted accordingly.
//
// What to do in this function: If the user doesn’t have enough money to
// even buy one bag of sugar, tell them so and return. Otherwise, ask
// the user how many bags of sugar they want to buy. If they answer less
// than one, tell them they must get more and reprompt them. If they
// answer more than they can buy, tell them they don’t have that much
// money and reprompt them. Continue prompting them until they answer with
// a valid value. Then process the transaction.

void buy_sugar(double *pSugar, double *pMoney) {

}

// Pre-condition: None
// Post-condition: The weather report for the day is printed and the
// corresponding weather status in between 1 and 5,
// inclusive, is returned.
int weather() {

// Get the weather status value.
int retval = rand()%5 + 1;

printf(“nHere is today’s weather forecast:n”);

// Print out the appropriate forecast for that status.n”);
if (retval == 1)
printf(“It is cloudy with a high chance of rain.n”);
else if (retval == 2)
printf(“It is partly cloudy and windy.n”);
else if (retval == 3)
printf(“It is partly sunny with low humidity.n”);
else if (retval == 4)
printf(“It is warm and sunny with medium winds.n”);
else
printf(“It’s a perfect beach day. Sunny and hot!n”);

return retval; // Return this status value.
}

// Pre-condition: weather is an integer in between 1 and 5, inclusive,
// standing for the weather status for the day. cost is
// the cost of a cup of lemonade in cents for that day.
// Post-condition: The number of cups of lemonade for that day is returned.
int num_cups_sold(int weather, int cost) {

int optimal_price, max_cups;
double max_income;

// Calculate a maximum revenue for the day.
max_income = 5 + 3*weather;
optimal_price = 15 + 5*weather;
max_income = max_income – fabs(optimal_price – cost)/1.5;

// If it’s lower than 5 dollars, reset it to 5 dollars.
if (max_income < 5)
max_income = 5;

// From this, determine the maximum number of cups that could be sold.
max_cups = (int)(max_income/((double)cost/100));

// Return a random number from 0 to this maximum.
return rand()%(max_cups+1);

}

// Pre-condition: cash is the amount of cash the user has, num_lemons is
// the number of bags of lemons the user has left, num_sugar
// is the number of bags of sugar the user has left, and day
// is which day of the game just finished.
// Post-condition: A status report with the four values passed in is nicely
// displayed for the user.
//
// What to do with this function: This is fairly self-explanatory from the
// pre and post conditions. Look to the sample given in the assignment for
// the format.
void status_report(double cash, double num_lemons, double num_sugar, int day) {

}

// Pre-condition: pMoney, pLemons and pSugar are pointers to the variables
// storing the user’s amount of cash, number of bags of
// lemons and number of bags of sugar.
// Post-condition: A day’s transactions will take place and the amount of
// money, the number of bags of lemons and sugar will be
// adjusted accordingly.
//
// What to do with this function: First prompt the user with the weather
// report. Then, ask the user for how much they want to sell a cup of
// lemonade. Determine the number of cups that actually get sold for the
// day by determining how many cups the user COULD sell based on the
// availability of supplies and how many cups they COULD sell based on the
// weather. Print out how many cups of lemonade they ended up selling.
// Then adjust the amount of money they have, as well as the number of bags
// of lemons and sugar.

void sell_cups(double *pMoney, double *pLemons, double *pSugar) {

}

// Pre-condition: num_lemons is the number of bags of lemons the user has,
// and num_sugar is the number of bags of sugar they have.
// Post-condition: The function returns the maximum number of cups of
// lemonade the user can sell based on available supplies.
//
// What to do with this function: Calculate how many full cups of lemonade
// you can supply with sugar. Do the same calculation for lemons. Then,
// return the smaller of these two values.

int max_sell(double num_lemons, double num_sugar) {

}

// Pre-condition: None.
// Post-condition: Returns the number of cents the user will sell a cup of
// lemonade for, for that day.
//
// What to do with this function: Prompt the user to enter how much they
// want to charge for a cup of lemonade. If they don’t enter a positive
// integer, reprompt them until they do. Then return this value.

int get_cost() {

}

// Pre-condition: money is the amount of money the user has left at the end
// of the 10 days of running their Lemonade Stand.
// Post-condition: The user’s overall loss or profit is printed out.

// What to do with this function: See if what they have left is less than
// what they started with. If so, print out how much the lost. If it’s equal
// just print out a message saying that they broke even. Otherwise, print
// out how much profit they made!

void end_message(double money) {

}

Categories: C/C++ Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Lemonade Stand

April 3rd, 2009 Comments off

Here is what needs to be done. I have the skeleton code too which i have included right after the instructions. This program must compile in Dev C++ and it needs to be in the format in the instructions.

Objectives
1. Review use of if statements and loops.
2. Learn how to write functions given specifications.
3. Learn how to use pass by reference variables.
4. Learn how to put together a useful program given a skeleton of that program and the
functions and their specifications necessary in the implementation.

Problem: Lemonade Stand
Last summer your friend has a lemonade stand and made lots of money. You want to do the same! You have plenty of time to plan, so you thought you would be pre
pared when summer came around by writing a program to simulate your lemonade stand. The basic idea behind the simulation is as follows:

1) You will simulate 10 days of running the lemonade stand.
2) In the beginning the user gets a $20.00 loan to run the lemonade stand.
3) Before each day, the user gets an opportunity to buy bags of lemons and sugar.
4) At the beginning of each day the user receive a weather report.
5) Based on that, the user is asked to price a cup of lemonade for that day.
6) Then, the days sales are simulated. (Part of this is written for you.)
7) Afterwards, the user is prompted with a status report of how much money they have left and how many bags of lemons and sugar they have left.

What you have to do
A skeleton of the solution for this assignment is posted on WebCourses and the course web page. Please use this skeleton. You must fill in the seven functions that are left for you to fill in, as well as write the remainder of main so the program works as described above. After you write each function, you should test it before moving on. How to do this will be covered in class. Then, write your main, calling the necessary functions from it to achieve the desired functionality. main can work without declaring any new variables than the ones already declared. But, you may declare new ones if you wish.

Perhaps the biggest problem you will have will be not knowing when to make function calls. The goal of having these functions is to make the coding process more manageable. In particular, it is possible that a function might “do” something complicated, but that just really means that function makes calls to other functions that carry out a majority of that work already. In essence, if you write a function A to do a task, then don’t write out the code that also does that task in another function B. Instead call the function A from the body of function B.

References
Textbook: Chapters 9, 10, 11 Notes: Lectures 13, 14, 15, 17

Output Sample
Two full output samples of the program running will be provided on Webcourses and the course web page in the files lemonade.out and lemonade2.out.

Deliverables
You must submit your solution to the problem, lemonade.c, over WebCourses.

Restrictions
Although you may use other compilers, your program must compile and run using DevC++. Please use DevC++ to develop your program. Your program should include a header comment with the following information: your name, course number, section number, assignment title, and date. Also, make sure you include ample comments throughout your code describing the major steps in solving the problem.

Grading Details
Your program will be graded upon the following criteria:

1) Your correctness
2) Your programming style and use of white space. (Even if you have a plan and your program works perfectly, if your programming style is poor or your use of white space is poor you could get 10% or 15% deducted from your grade.)
3) Compatibility to DevC++. (If your program does not compile in this environment, you will get a sizable deduction from your grade, likely to be over 50%)

The code Skeleton:

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

// Symbolic constants to be used.

// Prices of bags of sugar and lemon, respectively.
#define PRICE_LEMON 3.50
#define PRICE_SUGAR 2.00

// Fraction of a bag of lemons and sugar used on a single cup of lemonade.
#define LEMON_PER_CUP 0.03
#define SUGAR_PER_CUP 0.04

// The initial loan the user is given to start their lemonade stand.
#define START_MONEY 20.00

// Using symbolic constants for true and false.
#define FALSE 0
#define TRUE 1

void buy_lemons(double *pLemons, double *pMoney);
void buy_sugar(double *pSugar, double *pMoney);
int weather();
int num_cups_sold(int weather, int cost);
void status_report(double cash, double num_lemons, double num_sugar, int day);
int max_sell(double num_lemons, double num_sugar);
int get_cost();
void sell_cups(double *pMoney, double *pLemons, double *pSugar);
void end_message(double money);

int main() {

int num_day, ans;
double money = START_MONEY, num_lemons = 0, num_sugar = 0;

srand(time(0));

printf(“Welcome to the Game of Lemonade!nn”);
printf(“You start the game with $%.2lf and no supplies!n”, START_MONEY);

// Loop through each day. Ask the user if they want to buy lemons. If so,
// carry out the transaction. Then ask them if they want to buy sugar.
// If so, do this transaction as well. Then, let them sell lemonade for
// the day. Finally, print a status report after they’ve sold lemonade
// at the end of the day.
for (num_day = 1; num_day <= 10; num_day++) {

}

// Print out whether or not they have lost money, broke even or gained
// money.

return 0;
}

// Pre-conditions: pLemons and pMoney are pointers to variables that store
// the user’s number of bags of lemons left and amount of
// money left.
// Post-condition: The user is given the opportunity to buy lemons. If
// successful, the number of bags of lemons and the amount
// of money the user has are adjusted accordingly.
//
// What to do in this function: If the user doesn’t have enough money to
// even buy one bag of lemons, tell them so and return. Otherwise, ask
// the user how many bags of lemons they want to buy. If they answer less
// than one, tell them they must get more and reprompt them. If they
// answer more than they can buy, tell them they don’t have that much
// money and reprompt them. Continue prompting them until they answer with
// a valid value. Then process the transaction.

void buy_lemons(double *pLemons, double *pMoney) {

}

// Pre-conditions: pSugar and pMoney are pointers to variables that store
// the user’s number of bags of lemons left and amount of
// money left.
// Post-condition: The user is given the opportunity to buy sugar. If
// successful, the number of bags of sugar and the amount
// of money the user has are adjusted accordingly.
//
// What to do in this function: If the user doesn’t have enough money to
// even buy one bag of sugar, tell them so and return. Otherwise, ask
// the user how many bags of sugar they want to buy. If they answer less
// than one, tell them they must get more and reprompt them. If they
// answer more than they can buy, tell them they don’t have that much
// money and reprompt them. Continue prompting them until they answer with
// a valid value. Then process the transaction.

void buy_sugar(double *pSugar, double *pMoney) {

}

// Pre-condition: None
// Post-condition: The weather report for the day is printed and the
// corresponding weather status in between 1 and 5,
// inclusive, is returned.
int weather() {

// Get the weather status value.
int retval = rand()%5 + 1;

printf(“nHere is today’s weather forecast:n”);

// Print out the appropriate forecast for that status.n”);
if (retval == 1)
printf(“It is cloudy with a high chance of rain.n”);
else if (retval == 2)
printf(“It is partly cloudy and windy.n”);
else if (retval == 3)
printf(“It is partly sunny with low humidity.n”);
else if (retval == 4)
printf(“It is warm and sunny with medium winds.n”);
else
printf(“It’s a perfect beach day. Sunny and hot!n”);

return retval; // Return this status value.
}

// Pre-condition: weather is an integer in between 1 and 5, inclusive,
// standing for the weather status for the day. cost is
// the cost of a cup of lemonade in cents for that day.
// Post-condition: The number of cups of lemonade for that day is returned.
int num_cups_sold(int weather, int cost) {

int optimal_price, max_cups;
double max_income;

// Calculate a maximum revenue for the day.
max_income = 5 + 3*weather;
optimal_price = 15 + 5*weather;
max_income = max_income – fabs(optimal_price – cost)/1.5;

// If it’s lower than 5 dollars, reset it to 5 dollars.
if (max_income < 5)
max_income = 5;

// From this, determine the maximum number of cups that could be sold.
max_cups = (int)(max_income/((double)cost/100));

// Return a random number from 0 to this maximum.
return rand()%(max_cups+1);

}

// Pre-condition: cash is the amount of cash the user has, num_lemons is
// the number of bags of lemons the user has left, num_sugar
// is the number of bags of sugar the user has left, and day
// is which day of the game just finished.
// Post-condition: A status report with the four values passed in is nicely
// displayed for the user.
//
// What to do with this function: This is fairly self-explanatory from the
// pre and post conditions. Look to the sample given in the assignment for
// the format.
void status_report(double cash, double num_lemons, double num_sugar, int day) {

}

// Pre-condition: pMoney, pLemons and pSugar are pointers to the variables
// storing the user’s amount of cash, number of bags of
// lemons and number of bags of sugar.
// Post-condition: A day’s transactions will take place and the amount of
// money, the number of bags of lemons and sugar will be
// adjusted accordingly.
//
// What to do with this function: First prompt the user with the weather
// report. Then, ask the user for how much they want to sell a cup of
// lemonade. Determine the number of cups that actually get sold for the
// day by determining how many cups the user COULD sell based on the
// availability of supplies and how many cups they COULD sell based on the
// weather. Print out how many cups of lemonade they ended up selling.
// Then adjust the amount of money they have, as well as the number of bags
// of lemons and sugar.

void sell_cups(double *pMoney, double *pLemons, double *pSugar) {

}

// Pre-condition: num_lemons is the number of bags of lemons the user has,
// and num_sugar is the number of bags of sugar they have.
// Post-condition: The function returns the maximum number of cups of
// lemonade the user can sell based on available supplies.
//
// What to do with this function: Calculate how many full cups of lemonade
// you can supply with sugar. Do the same calculation for lemons. Then,
// return the smaller of these two values.

int max_sell(double num_lemons, double num_sugar) {

}

// Pre-condition: None.
// Post-condition: Returns the number of cents the user will sell a cup of
// lemonade for, for that day.
//
// What to do with this function: Prompt the user to enter how much they
// want to charge for a cup of lemonade. If they don’t enter a positive
// integer, reprompt them until they do. Then return this value.

int get_cost() {

}

// Pre-condition: money is the amount of money the user has left at the end
// of the 10 days of running their Lemonade Stand.
// Post-condition: The user’s overall loss or profit is printed out.

// What to do with this function: See if what they have left is less than
// what they started with. If so, print out how much the lost. If it’s equal
// just print out a message saying that they broke even. Otherwise, print
// out how much profit they made!

void end_message(double money) {

}

Categories: C/C++ Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Lemonade

March 31st, 2009 Comments off

Objectives
1. Review use of if statements and loops.
2. Learn how to write functions given specifications.
3. Learn how to use pass by reference variables.
4. Learn how to put together a useful program given a skeleton of that program and the
functions and their specifications necessary in the implementation.

Problem: Lemonade Stand
Last summer your friend has a lemonade stand and made lots of money. You want to do the same! You have plenty of time to plan, so you thought you would be pre
pared when summer came around by writing a program to simulate your lemonade stand. The basic idea behind the simulation is as follows:

1) You will simulate 10 days of running the lemonade stand.
2) In the beginning the user gets a $20.00 loan to run the lemonade stand.
3) Before each day, the user gets an opportunity to buy bags of lemons and sugar.
4) At the beginning of each day the user receive a weather report.
5) Based on that, the user is asked to price a cup of lemonade for that day.
6) Then, the days sales are simulated. (Part of this is written for you.)
7) Afterwards, the user is prompted with a status report of how much money they have left and how many bags of lemons and sugar they have left.

What you have to do
A skeleton of the solution for this assignment is posted on WebCourses and the course web page. Please use this skeleton. You must fill in the seven functions that are left for you to fill in, as well as write the remainder of main so the program works as described above. After you write each function, you should test it before moving on. How to do this will be covered in class. Then, write your main, calling the necessary functions from it to achieve the desired functionality. main can work without declaring any new variables than the ones already declared. But, you may declare new ones if you wish.

Perhaps the biggest problem you will have will be not knowing when to make function calls. The goal of having these functions is to make the coding process more manageable. In particular, it is possible that a function might “do” something complicated, but that just really means that function makes calls to other functions that carry out a majority of that work already. In essence, if you write a function A to do a task, then don’t write out the code that also does that task in another function B. Instead call the function A from the body of function B.

References
Textbook: Chapters 9, 10, 11 Notes: Lectures 13, 14, 15, 17

Output Sample
Two full output samples of the program running will be provided on Webcourses and the course web page in the files lemonade.out and lemonade2.out.

Deliverables
You must submit your solution to the problem, lemonade.c, over WebCourses.

Restrictions
Although you may use other compilers, your program must compile and run using DevC++. Please use DevC++ to develop your program. Your program should include a header comment with the following information: your name, course number, section number, assignment title, and date. Also, make sure you include ample comments throughout your code describing the major steps in solving the problem.

Grading Details
Your program will be graded upon the following criteria:

1) Your correctness
2) Your programming style and use of white space. (Even if you have a plan and your program works perfectly, if your programming style is poor or your use of white space is poor you could get 10% or 15% deducted from your grade.)
3) Compatibility to DevC++. (If your program does not compile in this environment, you will get a sizable deduction from your grade, likely to be over 50%)

it has to be in pure c and i have a sample run of how the program should look when it runs and i have also included the skeleton of the program. thanks

Welcome to the Game of Lemonade!

You start the game with $20.00 and no supplies!

This is Day #1 for your Lemonade Stand.
Would you like to buy lemons?(Yes=1,No=0)
1
How many bags of lemons do you want to buy?
1
Would you like to buy sugar?(Yes=1,No=0)
1
How many bags of sugar do you want to buy?
1

Here is today’s weather forecast:
It is partly cloudy and windy.

How many cents will you sell a cup of lemonade for today?
30
You sold 15 cups of lemonade today.

Status report for day 1:
————————-
Cash Left: $19.00
Bags of Lemons Left: 0.55
Bags of Sugar Left: 0.40

This is Day #2 for your Lemonade Stand.
Would you like to buy lemons?(Yes=1,No=0)
1
How many bags of lemons do you want to buy?
1
Would you like to buy sugar?(Yes=1,No=0)
1
How many bags of sugar do you want to buy?
1

Here is today’s weather forecast:
It is cloudy with a high chance of rain.

How many cents will you sell a cup of lemonade for today?
25
You sold 8 cups of lemonade today.

Status report for day 2:
————————-
Cash Left: $15.50
Bags of Lemons Left: 1.31
Bags of Sugar Left: 1.08

This is Day #3 for your Lemonade Stand.
Would you like to buy lemons?(Yes=1,No=0)
0
Would you like to buy sugar?(Yes=1,No=0)
0

Here is today’s weather forecast:
It is cloudy with a high chance of rain.

How many cents will you sell a cup of lemonade for today?
40
You sold 9 cups of lemonade today.

Status report for day 3:
————————-
Cash Left: $19.10
Bags of Lemons Left: 1.04
Bags of Sugar Left: 0.72

This is Day #4 for your Lemonade Stand.
Would you like to buy lemons?(Yes=1,No=0)
1
How many bags of lemons do you want to buy?
1
Would you like to buy sugar?(Yes=1,No=0)
1
How many bags of sugar do you want to buy?
1

Here is today’s weather forecast:
It is partly cloudy and windy.

How many cents will you sell a cup of lemonade for today?
30
You sold 2 cups of lemonade today.

Status report for day 4:
————————-
Cash Left: $14.20
Bags of Lemons Left: 1.98
Bags of Sugar Left: 1.64

This is Day #5 for your Lemonade Stand.
Would you like to buy lemons?(Yes=1,No=0)
0
Would you like to buy sugar?(Yes=1,No=0)
1
How many bags of sugar do you want to buy?
1

Here is today’s weather forecast:
It is warm and sunny with medium winds.

How many cents will you sell a cup of lemonade for today?
40
You sold 2 cups of lemonade today.

Status report for day 5:
————————-
Cash Left: $13.00
Bags of Lemons Left: 1.92
Bags of Sugar Left: 2.56

This is Day #6 for your Lemonade Stand.
Would you like to buy lemons?(Yes=1,No=0)
1
How many bags of lemons do you want to buy?
1
Would you like to buy sugar?(Yes=1,No=0)
0

Here is today’s weather forecast:
It is cloudy with a high chance of rain.

How many cents will you sell a cup of lemonade for today?
35
You sold 10 cups of lemonade today.

Status report for day 6:
————————-
Cash Left: $13.00
Bags of Lemons Left: 2.62
Bags of Sugar Left: 2.16

This is Day #7 for your Lemonade Stand.
Would you like to buy lemons?(Yes=1,No=0)
0
Would you like to buy sugar?(Yes=1,No=0)
0

Here is today’s weather forecast:
It’s a perfect beach day. Sunny and hot!

How many cents will you sell a cup of lemonade for today?
40
You sold 44 cups of lemonade today.

Status report for day 7:
————————-
Cash Left: $30.60
Bags of Lemons Left: 1.30
Bags of Sugar Left: 0.40

This is Day #8 for your Lemonade Stand.
Would you like to buy lemons?(Yes=1,No=0)
0
Would you like to buy sugar?(Yes=1,No=0)
0

Here is today’s weather forecast:
It is partly sunny with low humidity.

How many cents will you sell a cup of lemonade for today?
20
You sold 9 cups of lemonade today.

Status report for day 8:
————————-
Cash Left: $32.40
Bags of Lemons Left: 1.03
Bags of Sugar Left: 0.04

This is Day #9 for your Lemonade Stand.
Would you like to buy lemons?(Yes=1,No=0)
1
How many bags of lemons do you want to buy?
1
Would you like to buy sugar?(Yes=1,No=0)
1
How many bags of sugar do you want to buy?
1

Here is today’s weather forecast:
It is warm and sunny with medium winds.

How many cents will you sell a cup of lemonade for today?
25
You sold 25 cups of lemonade today.

Status report for day 9:
————————-
Cash Left: $33.15
Bags of Lemons Left: 1.28
Bags of Sugar Left: 0.04

This is Day #10 for your Lemonade Stand.
Would you like to buy lemons?(Yes=1,No=0)
0
Would you like to buy sugar?(Yes=1,No=0)
0

Here is today’s weather forecast:
It is partly cloudy and windy.

How many cents will you sell a cup of lemonade for today?
35
You sold 0 cups of lemonade today.

Status report for day 10:
————————-
Cash Left: $33.15
Bags of Lemons Left: 1.28
Bags of Sugar Left: 0.04

You made a profit of $13.15 on your Lemonade Stand!

Sms-weather — Site Design

March 22nd, 2009 No comments

I have programmed a website (www.SMS-Weather.com) that will have to ability to send weather updates to any cell phone via SMS. The website is functionally ready to go; I just need a graphic style for the site.

I would like a very specific look for this site. My desire is to have the design mirror www.Skype.com very closely. I want a vector look with the bright blue and pink colors. The background should remain white with large blocks of color and reversed white vectors throughout the site.

I have included some stock vector weather shapes that could be used in conjunction with text to form a logo for this site as well. If you wish to take a shot as designing the logo, I may be willing to pay extra, but if not, I will do that after the site is designed.

My requirements are for two PSD documents to be designed. I want a home page layout and an inside page layout. The home screen should be very closely mirrored from Skype.com and the inside should look similar. The inside page should have the ability to grow tall as content is added to the page.

I am looking for a very professional, modern look for this site. If you cannot deliver something that you would expect to see online, don’t bother putting in your bid.

If you have any questions, please feel free to email me. I will try my best to get back to you ASAP. I would love for this project to be quoted and assigned in the next 8 – 10 hours. Please bid if you are interested and include some examples of what you have designed in the past.

Twitter Weather Feed

March 16th, 2009 No comments

I have a site I would like to add an API in the main body to allow Twitter users to sign up for daily forecasts & weather alerts.

We would need to allow the Twitter user to enter their twitterusername & either capture their location from their Twitter profile; or force them to enter a location field on the form. Then we would need to push forecasts & alerts to them – weather alerts from some outside source (I am leaning towards:
http://www.weather.gov/xml/current_obs/).

The current site is a basic WordPress.org template (kubrick).

Bear