[gradsusr] CTL forecast in CMC1 model

Carlos Enciso Ojeda 20071058 at lamolina.edu.pe
Mon Oct 31 14:43:10 EDT 2016


HI Jeff

As you recommended, I commented the dtype, but the graphic is still with
error. Could you check my CTL, and tell me if you see any wrong in the code.

Thank you

2016-10-31 14:01 GMT-04:00 Jeff Duda <jeffduda319 at gmail.com>:

> GrADS does not recognize 'r4' as a data type. If your data are just
> standard Fortran binary, then you do not need to include a DTYPE entry in
> your control file. The file extension does not always indicate the data
> format or type, and the DTYPE entry does not have to match the file
> extension.
>
> Jeff Duda
>
> On Mon, Oct 31, 2016 at 12:44 PM, Carlos Enciso Ojeda <
> 20071058 at lamolina.edu.pe> wrote:
>
>> Hi everybody
>>
>> I need your help, with the CTL of SST in format r4, my data calls
>> "CMC1.r4", and my CTL is as described below .
>>
>> dset ^CMC1.r4
>> title NMME Monthly Hindcasts; CMC1-CanCM3 Sea Surface Temperature
>> Initialized 00Z01JAN2012
>> dtype r4
>> undef 9.999e+20
>> xdef 360 linear 0 1.0
>> ydef 61 linear -30.0 1.0
>> zdef 1 linear 0 1
>> tdef 12 linear 00Z01JAN2015 1mo
>> edef 10 names 1 2 3 4 5 6 7 8 9 10
>> vars 1
>> sst 0 1,e,t,y,x Sea Surface Temperature [C]
>> endvars
>>
>> But, something is wrong with this, the error is as follows
>>
>> ###########################################
>> ga-> open car_cmc1.ctl
>> Scanning description file:  car_cmc1.ctl
>> Open Error:  Data file type invalid
>>   --> The invalid description file record is:
>>   --> dtype bin
>>  The data file was not opened.
>> ###########################################
>> BUt when I commented "dtype", the plot of a point, has no sense.
>> [image: Imágenes integradas 1]
>>
>> I don't know if I must attach the data, because is about 12 M. If anyone
>> can help me with this one, I'll really appreciate it.
>>
>> Thanks so much!
>>
>> 2016-10-27 16:54 GMT-04:00 Jennifer M Adams <jadams21 at gmu.edu>:
>>
>>> Perhaps these will help — they point to the same URL from IRI’s data
>>> server, but describe two different ensemble foreasts. The first is
>>> initialized January 2012, the second is initialized in February 2012. The
>>> only difference is in the variable declaration (where integers are used
>>> instead of letters to specify which array index to use for that
>>> coordinate). It might make more sense if you do an ncdump on the URL and
>>> examine the metadata.
>>> —Jennifer
>>>
>>>
>>> > cat 201201/sst_CMC1-CanCM3.ctl
>>> dset http://iridl.ldeo.columbia.edu/SOURCES/.Models/.NMME/.CMC1-C
>>> anCM3/.FORECAST/.MONTHLY/.sst/dods
>>> title NMME Monthly Hindcasts; CMC1-CanCM3 Sea Surface Temperature
>>> Initialized 00Z01JAN2012
>>> dtype netcdf
>>> undef 9.999e+20
>>> xdef 360 linear 0 1
>>> ydef 181 linear -90 1
>>> zdef 1 linear 0 1
>>> tdef 12 linear 00Z01JAN2012 1mo
>>> edef 10 names 1 2 3 4 5 6 7 8 9 10
>>> vars 1
>>> sst 0 1,e,t,y,x Sea Surface Temperature [C]
>>> endvars
>>>
>>>
>>> > cat 201202/sst_CMC1-CanCM3.ctl
>>> dset http://iridl.ldeo.columbia.edu/SOURCES/.Models/.NMME/.CMC1-C
>>> anCM3/.FORECAST/.MONTHLY/.sst/dods
>>> title NMME Monthly Hindcasts; CMC1-CanCM3 Sea Surface Temperature
>>> Initialized 00Z01FEB2012
>>> dtype netcdf
>>> undef 9.999e+20
>>> xdef 360 linear 0 1
>>> ydef 181 linear -90 1
>>> zdef 1 linear 0 1
>>> tdef 12 linear 00Z01FEB2012 1mo
>>> edef 10 names 1 2 3 4 5 6 7 8 9 10
>>> vars 1
>>> sst 0 2,e,t,y,x Sea Surface Temperature [C]
>>> endvars
>>>
>>> On Oct 27, 2016, at 4:33 PM, Carlos Enciso Ojeda <
>>> 20071058 at lamolina.edu.pe> wrote:
>>>
>>> Hi everybody
>>>
>>> I have a set of data from the IRI database, for a period of 12 months.
>>> Each data has 10 members and 12 leads, so I need your help in order to
>>> create the CTL.
>>>
>>> I'd appreciate any help that you can give me for this topic.
>>>
>>>
>>> Thanks so much!
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>> --
>>> Jennifer Miletta Adams
>>> Center for Ocean-Land-Atmosphere Studies (COLA)
>>> George Mason University
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> Jeff Duda
> Post-doctoral research associate
> University of Oklahoma School of Meteorology
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20161031/134bd916/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 27656 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20161031/134bd916/attachment-0001.png 


More information about the gradsusr mailing list