![]() Internally, that date is stored as number of milliseconds past Jan-01-0000 (year zero), but I don't know how to access the "raw" form of the Timestamp data, stored as a float. in file headers, data definition files, or perhaps even in printed documents. Here is some code that might illustrate what I mean: Import Although documentation of these tools is required, a great deal is carried. Is there a way to tell Mathematica "don't convert the internal date format to a date list. I have not seen the native format alongside another date format so I can do the conversion. All the examples I find use "nice" date formats. Python has nice netCDF module, which can be. If I had just one known date translated to CDF Epoch format, I could write a converter, but I cannot find such an example anywhere. Download CDF-to-netCDF converter from NASA page and run it on your CDF file. I have no software that goes back to the year zero, so I can't convert between CDF Epoch format and other formats. When I read NASACDF files with Mathematica, it converts the date into a "nice" date format, but the text file I have is in native format (milliseconds past.). That's the number of milliseconds past Jan 1, year zero. I am trying to read/interpret a number stored in NASA's CDF Epoch format. This is a rather obscure question, but perhaps someone has the answer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |