![]() ''' NAME NetCDF with Python PURPOSE To demonstrate how to read and write data with NetCDF files using a NetCDF file from the NCEP/NCAR Reanalysis. Unpacked_valid_range: array(, dtype=float32)ĭataset: u'NCEP Reanalysis Daily Averages' Long_name: u'mean Daily Air temperature at sigma level 995' These are the 0.9950 sigma level values.'Īctual_range: array(, dtype=float32)Īctual_range: array() History: u'created 2011/12 by Hoop (netCDF2.3)'ĭescription: u'Data is from NMC initialized reanalysis\n(4x/day). Title: u'mean daily NMC reanalysis (2012)' Example output ¶ FiguresĪfter the data are read using Python, the air temperature is plotted using a NetCDF reading and writing example with plotting by Chris SlocumĬommons Attribution-NonCommercial-NoDerivs 3.0 Unported License. ![]() My contact information can be found on my NCEP/NCAR Reanalysis I project products and documentation can be found atįor more examples on using NetCDF and Python, visit the Unidata NetCDF exampleįree to contact me with any feedback, questions, comments, or concerns. In addition, we will create a contour fill plot of the departure. Temperature departure as a function of time, latitude,Īnd longitude. ![]() We will createĪ corresponding NetCDF file entitled './air.' with the air Lastly, we will compute the global air temperature departure from its valueĪt Darwin, Australia for all of 2012. Generated in this example is not CF (Climate and Forecast) metadata convention compliant. We will create a simple line plot to visualize this data. Profile has a fixed location and is only dependent on the time dimension. Into a NetCDF file entitled './darwin_2012.nc.' The temperature įill map in a Mollweide equal area projectionĪfter this, we will write the air temperature profile for Darwin, Australia (12.45°S, 130.83☎) Sigma level ('./') from the NCEP/NCAR Reanalysis I (Kalnay et al. In this example, I use a NetCDF file of 2012 air temperature on the 0.995 Unidata NetCDF (Network Common Data Form) files using the Here is an example of how to read and write data with Python - NetCDF reading and writing example with plotting
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |