Data Processing in PRISM Introduction. COCO (CDMS Overloaded for CF Objects) What is it. Why is COCO written in Python. Implementation Data Operations. CDAT (Climate Data Analysis Tools) What is it. Implementation Data Operations Examples
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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
COCO (CDMS Overloaded for CF Objects)
What is it.
Why is COCO written in Python.
CDAT (Climate Data Analysis Tools)
What is it.
COCO vs CDMS (Climate Data Management System)
>>> spaceConstructs = file.read()
>>>for grid in spaceConstructs:
>>> print grid.standard_name
>>> x = grid.getCoord(‘longitude’)
>>> y = grid.getCoord(‘Y’)
>>> if grid.hasTAxis():
>>> print grid.getAlias(‘t’)
>>> print grid.getAxis()
>>> print grid.getCoord(‘z’).getValue()
>>>simpleMeans = Collapse(spaceConstructs, method=‘mean’, axis=‘x’)
>>> for grid in simpleMeans:
>>> print grid.getValue().shape
>>> print grid.getValue(t=‘0’,z=‘0:2’, y=‘0:2’)
>>>output = File(‘model_zonal_means.nc’)
(‘time’, ‘level0’, ‘latitude’, longitude’)
(22, 9, 73, 1)
[ 218.151153503, ]]]COCO Example