Comments (4)
Hmm, I do not understand where this comes from. There are lots of matches when searching for +00:00
but basically none when searching for 0000
:
$ grep -rn "seconds since.*0000" *
modules/F90/fimex.f90:484: !! @param unit optional time-unite, defaults to 'seconds since 1970-01-01 +0000'
modules/F90/fimex.f90:494: myUnit = "seconds since 1970-01-01 00:00:00 +0000";
share/etc/cdmGribReaderConfigEC_MAD.xml:28: <attribute name="units" value="seconds since 2014-03-05 00:00:00 +0000" type="string"/>
Binary file … matches
Do you have any suggestion where the unit without timezone colon might come from?
from fimex.
Furthermore, udunits allows both +0000 and +00:00 for timezones:
You have: seconds since 2014-03-05 00:00:00 +0000
You want: seconds since 2014-03-05 00:00:00 +01:00
1 seconds since 2014-03-05 00:00:00 +0000 = 3601 (seconds since 2014-03-05 00:00:00 +01:00)
x/(seconds since 2014-03-05 00:00:00 +01:00) = (x/(seconds since 2014-03-05 00:00:00 +0000)) + 3600
You have: seconds since 2014-03-05 00:00:00 +0100
You want: seconds since 2014-03-05 00:00:00 +0000
1 seconds since 2014-03-05 00:00:00 +0100 = -3599 (seconds since 2014-03-05 00:00:00 +0000)
x/(seconds since 2014-03-05 00:00:00 +0000) = (x/(seconds since 2014-03-05 00:00:00 +0100)) - 3600
from fimex.
I stand corrected on both of your comments. I had not investigated closely enough, sorry about that. I am using a library that is using CF time as standard, and it would not accept the +0000-string, so I assumed this was not accepted by udunits. It's the library that I'm using that's even more restrictive.
As for the output, I found this is a setting in the config files used, so it's not really an issue. I jumped the gun. Props for quick response!
Happy to close.
from fimex.
from fimex.
Related Issues (20)
- All fimex operations fail when coordinate-system is unknown HOT 2
- fiGrbmlCat fails to generate correct grbml from multiple inputs HOT 1
- Support 'byte' datatype in ncml HOT 3
- Missing pkg_config for fortran libfimexf HOT 1
- Strange INFO in fortran fimex HOT 3
- --verticalInterpolate should be independently configurable and remove templateVariable HOT 6
- Feature request: xml-stdout option to the fimex binary HOT 2
- Error building with gcc 10 HOT 1
- fimex creates files with corrupt data without error code
- missing whitespace in ncml-output HOT 3
- printNcML create 0-size variables with undefined type HOT 6
- build on debian-sid HOT 1
- GRIB_api HOT 1
- GribCDMWriter drops fields when all values are missing HOT 5
- How to use metgm with 1.9.4? HOT 5
- Wrong --libs in pkg-config for fimex in conda HOT 3
- mifi_set_default_loglevel has no effect HOT 3
- fimex output.type=grib2 does not write level-data for sigma or hybrid levels HOT 1
- need process to calculate geopotential_height from temperature and specific humidity HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fimex.