[NARCCAP-discuss] NARCCAP netcdf file viewer?

Seth McGinnis mcginnis at ucar.edu
Fri Jun 29 16:07:52 MDT 2012


Hi Perdinan,

No, but a very similar fix will solve the problem:

ncatted -a false_easting,polar_stereographic,o,d,4700000 filename.nc
ncatted -a false_northing,polar_stereographic,o,d,8400000 filename.nc

BTW, this is one of many small metadata cleanups we have on our to-do list.  It
doesn't take that long to do each one, but if we change a file on ESG, it
requires a significant amount of work to get it republished.  So we've been
working on the collection of fixes in such a way that we can do one big update
all at once when they're all done.  Apologies to all for the resulting
inconvenience...

Cheers,

--Seth

On Fri, 29 Jun 2012 17:05:14 -0400
 Perdinan <perdinan at gmail.com> wrote:
>Hi Seth,
>
>How about ECP2 driven by NCEP? can we apply the same correction using NCO
>so that we can read the data using panoply? I got an error message says
>string errors when opening ECP2_ncep.
>
>Best,
>Perdinan
>
>2012/6/29 Seth McGinnis <mcginnis at ucar.edu>
>
>> Hi all,
>>
>> It looks like, at least in the CRCM case, Panoply is looking for a map
>> projection attribute of "longitude_of_central_meridian" instead of
>> "straight_vertical_longitude_from_pole" (which is what CF requires).
>>
>> I've made a bug report to the developer, but in the meantime, you can fix
>> up
>> your CRCM files to display in Panoply using "ncatted" if you have NCO
>> installed.  Just run:
>>    ncatted -a longitude_of_central_meridian,polar_stereographic,o,d,263
>> filename.nc
>> and Panoply will then geolocate the data properly.
>>
>> Cheers,
>>
>> --Seth
>>
>> P.S.: A brand-new release of Panoply came out yesterday.  It doesn't fix
>> this
>> problem, but it may be worth updating if you're having problems with other
>> files.
>>
>>
>> On Thu, 28 Jun 2012 01:08:25 -0400
>>  Guillaume Dueymes <guillaume.dueymes at gmail.com> wrote:
>> >I tried to open Netcdf files from NARCCAP with Panoply. It works fine with
>> >all data sets except with CRCM  model (CRCM driven by ERA40 and CRCM
>> driven
>> >by CCSM) .
>> >
>> >Guillaume D.
>> >
>> >On Wed, Jun 27, 2012 at 9:44 PM, Michael Rawlins <rawlins02 at yahoo.com
>> >wrote:
>> >
>> >>
>> >>
>> >> I use Panoply with the NARCCAP netCDF files and have never seen it
>> display
>> >> offset like you show. That is, it's always worked fine for me. Perhaps
>> it's
>> >> a problem with that one data set. I'm unable to test right now but
>> contact
>> >> me next week if you still plan to use Panoply and have been unable to
>> >> resolve the issue.
>> >>
>> >> Mike
>> >>
>> >>
>> >>
>> >> ________________________________
>> >>  From: Darrin Sharp <dsharp at coas.oregonstate.edu>
>> >> To: Discussion of NARCCAP data - uses and questions <
>> >> narccap-discuss at mailman.ucar.edu>
>> >> Sent: Wednesday, June 27, 2012 12:25 PM
>> >> Subject: [NARCCAP-discuss] NARCCAP netcdf file viewer?
>> >>
>> >> Anybody have a netcdf viewer/browser they'd like to recommend? I'd like
>> to
>> >> be able to view the geospatial representation of the data, as well as
>> the
>> >> raw data. I've been using Panoply, which works ok on most netcdf's.
>> >> However, it doesn't like the NARCCARP format for some reason and offsets
>> >> the domain significantly from where it should be (see the screen shot).
>> I'm
>> >> hoping there's another alternative that understands the NARCCAP format
>> >> better.
>> >>
>> >> -Darrin
>> >>
>> >> ======================================
>> >> Darrin Sharp
>> >> Faculty Research Assistant
>> >> Oregon Climate Change Research Inst. (OCCRI)
>> >> dsharp at coas.oregonstate.edu
>> >> 970-219-6713
>> >>
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> narccap-discuss mailing list
>> >> narccap-discuss at mailman.ucar.edu
>> >> http://mailman.ucar.edu/mailman/listinfo/narccap-discuss
>> >> _______________________________________________
>> >> narccap-discuss mailing list
>> >> narccap-discuss at mailman.ucar.edu
>> >> http://mailman.ucar.edu/mailman/listinfo/narccap-discuss
>> >>
>> >
>> >
>> >
>> >--
>> >Guillaume Dueymes M.Sc.
>> >Agent de Recherche
>> >Centre ESCER - Université du Québec à Montréal
>> >Environnement Canada - Service Météorologique du Canada
>> >Université du Québec à Montréal
>> >201 avenue Président-Kennedy, local PK-2315
>> >Montréal (Québec) Canada
>> >Tel: (514) 987-3000 poste 1407*
>> >*
>> >_______________________________________________
>> >narccap-discuss mailing list
>> >narccap-discuss at mailman.ucar.edu
>> >http://mailman.ucar.edu/mailman/listinfo/narccap-discuss
>>
>> _______________________________________________
>> narccap-discuss mailing list
>> narccap-discuss at mailman.ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/narccap-discuss
>>
>
>
>
>-- 
>PhD Student
>Geography (Environmental Science and Policy)
>Michigan State University
>Department of Geography
>Michigan - USA
>
>weblog: http://perdinan.staff.ipb.ac.id/
>_______________________________________________
>narccap-discuss mailing list
>narccap-discuss at mailman.ucar.edu
>http://mailman.ucar.edu/mailman/listinfo/narccap-discuss



More information about the narccap-discuss mailing list