Hi Charles, Depending on the type of netCDF file, it is possible that the lat/lon variables are what are called 'index' variables, Âwhere these latitude and longitude integers correspond to indices into the 'arrays' of latitude and longitude values. ÂIt sounds as if what is being exported are the indices, and not the values indexed by these indices. ÂI'm unfamiliar with Panoply but I would be willing to take a look; is it possible for you to provide one of the netCDF files you are working with? This may be the easiest way for me to interpret and share with you what is going on, and perhaps how best to extract the data you are looking for. -Ward On Sep 24, 2018, 7:30 PM -0600, Charles Fisk <address@hidden>, wrote: > New Client Reply: Request help with NetCDf file read and export > > Thanks,Ward for the links.  Since my last e-mail I found out about > Panoply open-source software which reads NETCDF files and if desired, exports > the raw data to .txt file formats. I installed it and did the exports.  > My data exports are time vs. longs/lats spatial representations of various > meteorological parameters. I understand the time variable range (n=1 to 24), > but the longs and lats are confusing, being  labled as "SOUTH_NORTH" > (range 1 to 320), and "WEST_EAST" (range 1 to 256). This is supposed > pertain to Central and Northern California. Are you familiar with this kind > of long/lat coordinate system? Thanks  very much for any insights on > this >  Charles > > On Monday, September 24, 2018 4:55 PM, Unidata netCDF Support > <address@hidden> wrote: > > > Hello Charles, > > From email, it appears that maybe the trailing period is being included in > the links? ÂTry these: > > * https://www.unidata.ucar.edu/software/netcdf/docs/winbin.html > * > https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html > > Let me know if these also fail for you.. Thanks! > > -Ward > On Sep 18, 2018, 7:27 PM -0600, Charles Fisk <address@hidden>, wrote: > > New Client Reply: Request help with NetCDf file read and export > > > > Ward, I can't access either of the links you gave me, I get the following > > errors > > Not Found > > The requested URL /software/netcdf/docs/winbin.html. was not found on this > > server > > > > Not Found > > The requested URL /software/netcdf/docs/getting_and_building_netcdf.html. > > was not found on this server. > > On Tuesday, September 18, 2018 2:52 PM, Unidata netCDF Support > > <address@hidden> wrote: > > > > > > Hi Charles, > > > > It depends on the system. ÂFor Windows, you can download installation > > packages > > fromÂhttps://www.unidata.ucar.edu/software/netcdf/docs/winbin.html. ÂThe > > path of least resistance for a linux system would be to search your > > distributions package manager for 'netcdf' and install the package that > > way. ÂIf no netcdf package is available (which would be unusual), you can > > find instructions for downloading and building netcdf > > atÂhttps://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html. > > > > I hope this helps, let me know if you get stuck at any particular step! > > > > -Ward > > On Sep 18, 2018, 12:24 PM -0600, Charles Fisk <address@hidden>, wrote: > > > New Client Reply: Request help with NetCDf file read and export > > > > > > Thanks very much Ward, As a newbie, just to be absolutely sure: what > > > are the steps for me to follow to get the netCDF libraries installed on > > > my system and to make use of the nccopy, ncdump, and ncgen utilities from > > > the commandÂline. I assume I couldÂmake use of the netcdf operator from > > > visiting the NCO Homepage link. I'm on a computer at work now, so I'll > > > have to wait until I'm home tonight to doÂinstall the NetCdf > > > librariesÂand NCO tools.ÂÂI have seenÂthe code online for a Pandas > > > importÂof NetCDF's followed by an export to a .csvÂbut at the moment > > > I'm quite green with Numpy/Pandas as well. > > > Regards, Charles Fisk > > > Re: "I can provide some help for querying the If you have the netCDF > > > libraries installed on your system, you should also have the netCDF > > > utilities 'nccopy', 'ncdump', and 'ncgen' available to you from the > > > command line. At the simplest, you can use 'ncdump' on the command line > > > to extract the raw data and massage into a format you can massage into a > > > .csv file. You might also be able to use the netcdf operator (NCO) > > > tools, but I'm afraid I can't provide much help as we don't maintain > > > those tools ourselves. The NCO project page is here: NCO Homepage" > > > > > > | > > > | > > > | > > > | | | > > > > > > | > > > > > > | > > > | > > > | | > > > NCO Homepage > > > By csz | | > > > > > > | > > > > > > | > > > > > > > > > > > > > > > On Tuesday, September 18, 2018 11:00 AM, Unidata netCDF Support > > > <address@hidden> wrote: > > > > > > > > > Hello Charles, > > > > > > There is not an easy way to convert from netCDF to .xlsx or .csv; the > > > netCDF format was created to manage high-dimensional scientific data, > > > which does not lend itself to flat-file or traditional database > > > storage. I can provide some help for querying the If you have the > > > netCDF libraries installed on your system, you should also have the > > > netCDF utilities 'nccopy', 'ncdump', and 'ncgen' available to you from > > > the command line. At the simplest, you can use 'ncdump' on the command > > > line to extract the raw data and massage into a format you can massage > > > into a .csv file. You might also be able to use the netcdf operator > > > (NCO) tools, but I'm afraid I can't provide much help as we don't > > > maintain those tools ourselves. The NCO project page is here: > > > http://nco.sourceforge.net/. > > > > > > To answer your question, you do not need to register as a netcdf user. > > > I do not use Numpy myself, but it may be easiest to see if there is a > > > function or utility as part of Numpy that will make conversion to a .csv > > > file easier. > > > > > > I'm sorry I can't provide a more immediately helpful answer, but > > > hopefully this will get you headed in the right direction. > > > > > > -Ward > > > > > > Ward Fisher > > > address@hidden > > > UCAR/Unidata - Software Engineer > > > > > > > > > > Hello, I'm a first-time user of NetCDF files and I would like to read > > > > a series of 20 .nc files and export them to either to an .xlsx or csv > > > > format in order to analyze them statistically. They are NetCDF3. I > > > > know next to nothing about the attributes (raster or vector?) and > > > > neither does the supplier of the files. Could you help me? Do I have to > > > > register as a netcdf user?. > > > > > > > > For what it's worth, As a beginner programmer in Numpy I was able to > > > > import one successfully but the output was only header information > > > > (this may be useful to you in interpreting what kind of .nc file it > > > > is): See attached with the code and output. Thank you very much > > > > Charles Fisk > > > > > > > > > > > > > > > > > Ticket Details > > > =================== > > > Ticket ID: LWQ-650096 > > > Department: Support netCDF > > > Priority: Normal > > > Status: Closed > > > =================== > > > NOTE: All email exchanges with Unidata User Support are recorded in the > > > Unidata inquiry tracking system and then made publicly available through > > > the web. If you do not want to have your interactions made available in > > > this way, you must let us know in each email you send to us. > > > > > > > > > > > > > > > > > > > > > > > > Ticket Details > > > =================== > > > Ticket ID: LWQ-650096 > > > Department: Support netCDF > > > Priority: Normal > > > Status: Open > > > Link: > > > https://andy.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=29720 > > > > > > > > > > > Ticket Details > > =================== > > Ticket ID: LWQ-650096 > > Department: Support netCDF > > Priority: Normal > > Status: Open > > =================== > > NOTE: All email exchanges with Unidata User Support are recorded in the > > Unidata inquiry tracking system and then made publicly available through > > the web. If you do not want to have your interactions made available in > > this way, you must let us know in each email you send to us. > > > > > > > > > > > > > > > > Ticket Details > > =================== > > Ticket ID: LWQ-650096 > > Department: Support netCDF > > Priority: Normal > > Status: Open > > Link: > > https://andy.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=29720 > > > > > > Ticket Details > =================== > Ticket ID: LWQ-650096 > Department: Support netCDF > Priority: Normal > Status: Open > =================== > NOTE: All email exchanges with Unidata User Support are recorded in the > Unidata inquiry tracking system and then made publicly available through the > web. If you do not want to have your interactions made available in this > way, you must let us know in each email you send to us. > > > > > > > > Ticket Details > =================== > Ticket ID: LWQ-650096 > Department: Support netCDF > Priority: Normal > Status: Open > Link: > https://andy.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=29720 > Ticket Details =================== Ticket ID: LWQ-650096 Department: Support netCDF Priority: Normal Status: Open =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.