Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Troubleshooting

Package version — 0.5.1. Follow the installation guide before using this reference. The release notes describe compatibility and changes since 0.4.1.

Find the step where the problem appears. Each row gives the message or symptom, its cause and the fix.

Installation

Message or symptomCause and fix
No solution found when resolving dependencies and Python>=3.11uv chose an older Python that comes first on your computer. Add --python 3.13 to uv tool install or uv init
chronozarr: command not found after uv tool installuv's tool folder is not on your PATH. Run uv tool update-shell, then open a new terminal
this command needs rasterioThe geo extra is missing. Include it with the extras you use in the development checkout installation. Use the local-checkout dependency for a Python project or notebook
Connection refused for chronozarr.org or data.chronozarr.org, or a security block page, on a university or company network or a VPNThe network's DNS filter blocks the domain. Try another network, or ask your IT team to allow chronozarr.org
chronozarr --version prints an older versionAn older install comes first on your PATH, or a pinned environment is active. Check which chronozarr
The first command after an install takes 10 to 25 secondsOn macOS the system checks new program files once. Later commands start in about a second

Conversion

chronozarr convert SOURCE OUT --dry-run reports every problem in every file at once, with a fix for each, and writes nothing. Run it first.

MessageCause and fix
no date in the file namePut one date in each name, as 20240131, 2024-01-31 or 2024-01. Or pass --date-pattern, such as --date-pattern "ndvi_%Y%m%d" (%Y%j reads a year and day of year, as in MODIS and HLS names: --date-pattern "MOD13A1.A%Y%j"), or list the files in a manifest
no date in the file name for one multi-band file, and the fix: names --bands-are-datesThe bands of the file are dates, as in an Earth Engine toBands() export. Pass --bands-are-dates. See From Earth Engine exports
has the same date for several files, and the fix: names --mosaic-tilesThe files of each date are tiles of one image, as Earth Engine splits a large export into name-0000000000-0000000000.tif files. Pass --mosaic-tiles; do not leave files out, or the store holds part of the area. See Exports split into tiles
has the same date and covers the same pixelsThe files are copies, or two images of one area. Keep one, or read a time of day from the names with --date-pattern and %H%M%S
several dates in one namePass --date-pattern to say which part is the date
A month name, such as scene_Jan2024.tif--date-pattern reads numbers only. Write a CSV manifest with the columns uri,datetime, one row per file, and convert the manifest
Got unexpected extra argumentsThe shell expanded an unquoted glob into many files. Quote it: "scenes/*.tif"
The bands are named 1, 2The GeoTIFFs have no band descriptions. Add a bands column to a manifest, as in Convert your data
Two files share the datetimeEach timestep needs one file. Remove or rename the duplicate
A file on another grid or CRSAll timesteps of a store share one grid. Fix the files, or pass --resampling to warp every file to the grid of the first
Different scale, offset, units or band namesA store holds one value of each per band. Correct the metadata, for example with gdal_edit.py -scale -offset -units. For a scale or offset, --scale and --offset give one value for every band instead
A float file with undeclared NaNPass --nodata nan to treat NaN as invalid
-9999 (48 % of the valid pixels in the 3 sampled timesteps) lies far outside the other values, and the command stopsThe files declare no nodata, and a value that looks like a fill holds a large share of the pixels. If it marks missing pixels, pass --nodata -9999. If it is data, pass --nodata none. --nodata takes one value: with two flag values the message says which stays data and how to mark both
A fill: line names a value such as -9999The files declare no nodata, and the value looks like a fill but holds a small share of the pixels. Pass --nodata -9999 to mark it invalid. Leave it out if the value is data
500m 16 days NDVI declares scale 10000 and would run -2e+07 to 1e+08, and the command stopsThe file's scale is a divisor, as in MODIS and other HDF-EOS products, and the store multiplies. Pass --scale 0.0001. If 10000 is right, pass --scale 10000
A range: line shows values far outside the physical range, and the command did not stopThe scale is applied as stored * scale + offset. Pass --scale and --offset with the right values, or correct the files, for example with gdal_edit.py -scale -offset
A palette PNG is refusedExpand it to RGB first: gdal_translate -expand rgba
The output folder existsA store is never overwritten. Choose a new folder
reading a NetCDF4 file needs h5netcdf and h5py. Older releases print xarray's found the following matches with the input file in xarray's IO backends, or No module named 'h5py'Include netcdf in the installation guide. A classic NetCDF3 file (it starts with CDF) needs scipy instead: add --with scipy to the checkout's tool install, or add scipy to the analysis environment. See From NetCDF or Zarr
the time coordinate 'time' uses the 360_day calendar, which needs cftime (also noleap, all_leap, julian). Older releases print xarray's unable to decode time units ... installing cftimeInclude cftime or netcdf in the installation guide. Package 0.4.1 has no cftime extra or calendar-mapping option. See Climate model calendars
uses the 360_day calendar, and a store holds Gregorian timestamps. Older releases print the time coordinate 'time' is object, not datetimesThe time axis is on a calendar with no Gregorian equivalent. Pass --calendar-to-gregorian date to keep each step's date and time of day as its Gregorian timestamp. The message says what that does to the spacing between steps, and the store records it. See Climate model calendars
2 of 780 dates that Gregorian does not haveThe calendar has days Gregorian lacks, such as 30 February on a 360_day calendar. --calendar-to-gregorian date-or-month-end moves each to the last day of its month and records which
both land on or on or before the previous step, with date-or-month-endMoving the dates put two steps on one day, as daily 360_day data does on 28, 29 and 30 February. Drop one step of each pair first, for example with xarray, then convert the result
listing an S3 prefix needs boto3Install the s3 extra. The message gives the command

convert --help lists every source type, option and validity rule. Convert your data explains them.

Opening a store

A store whose CRS has no EPSG code, such as a Lambert conformal conic or a sinusoidal grid, declares spec_version 0.4.0. A store whose CRS has an EPSG code declares 0.3.0; package 0.3 and later open supported v0.3 layouts. Releases up to 0.4.1 refuse a 0.4.0 store, and their message names the wrong fix.

MessageCause and fix
chronozarr.spec_version: unsupported or missing version '0.4.0'; expected 0.3.0; use chronozarr convert before opening with a v0.3 readerThe installed chronozarr is 0.4.1 or older and cannot read this custom-CRS store. Install 0.5.1 with the installation guide, then check that chronozarr --version reports 0.5.1. Keep the existing store; it needs no conversion
not a valid chronozarr store: unsupported spec_version 0.4.0; use chronozarr convert to convert this store to v0.3 in the viewer or the JavaScript packageInstall the npm 0.5.1 viewer bundle. The hosted viewer changes when the site is deployed; a Python package install does not update it. An npm 0.4.1 viewer needs a package upgrade to read this store
unsupported or missing version '0.2.0'The store is v0.2. chronozarr convert OLD NEW writes a v0.3 store from it
unsupported or missing version with a version later than 0.4.0The store was written by a newer chronozarr. Upgrade chronozarr
cannot read the CRS ... Pass an authority code such as EPSG:32631 or WKT2 textencode was given a CRS it could not parse. Pass EPSG:xxxxx, or WKT2 text. WKT1, PROJJSON and PROJ strings need pyproj to be converted: install it, or convert the CRS to WKT2 yourself
crs: the input is ..., the store is ... from appendThe new data is in another CRS than the store. Append data on the store's grid. A code and a WKT2 can be compared only when pyproj is installed

The viewer

SymptomCause and fix
Only Single band is offeredThe viewer does not know which band is red, green, blue or near infrared, or which two are VV and VH or HH and HV. Set the roles with chronozarr bands STORE --band-role NAME=ROLE. See Band roles
Store on this computer not reachableThe viewer page is on the internet and the store on your computer. Check that preview still runs, allow the page to reach your local network when Chrome asks, or use Chrome or Firefox instead of Safari
Shared link not availableThe temporary link from chronozarr share has stopped. Ask the sender for a new one
True color looks white or blackThe bands may lack their scale. A Sentinel-2 band stored as 0 to 10000 needs a scale of 0.0001. Check with chronozarr bands STORE
A single band looks flatIts display range does not fit the data. Click Auto, or set the minimum and maximum
Hatched or flat areas in some monthsGaps hatches zero coverage. At level 0 this records an observation gap; at overview levels the rounded count can also become zero. Inspect the native level and validity mask before interpreting the area
The map stays empty and an error names CORSThe host does not send Access-Control-Allow-Origin. Run chronozarr doctor URL. See Publish a permanent link
Open reports that the store cannot be reachedCheck the address. It must be the store, the folder that holds the root zarr.json, and start with https://

Preview

SymptomCause and fix
No browser opensOpen the address after open: in the terminal yourself. --no-open prints it without trying
Chrome asks to let the page reach devices on your local networkThe viewer page is on chronozarr.org and the store is on your computer. Allow it
Safari shows nothingSafari can block an https page from reading http://127.0.0.1. Use Chrome or Firefox, or a self-hosted viewer with --viewer-dir
--port N failsAnother program listens on that port. Leave out --port, or choose another number

Share

SymptomCause and fix
cloudflared not foundInstall it from Cloudflare's download page. On macOS: brew install cloudflared
cloudflared exited ...cloudflared could not reach Cloudflare. Check the network connection or firewall, and run the command again
the tunnel did not serve this store within 90 secondsThe new address did not start working in time. Run the command again
The recipient sees nothingSharing stopped, or your computer slept or went offline. The link works only while share runs
Scrubbing is slow for the recipientEvery view travels over your upload connection. For many viewers, publish the store

Publish

SymptomCause and fix
access deniedThe credentials cannot write to the bucket. The message names the permission they need
The objects are stored, but doctor gets 403 at the public URLThe bucket is not public. Publishing never changes public access. Make the bucket readable, or put a CDN in front of it and pass its address as --public-url
doctor gets 404 for the root zarr.jsonThe public URL does not point at the store. It must be the folder that holds the root zarr.json
CORS failsRerun with --apply-cors, or add the rule from the hosting recipes
The prefix already holds other objectsEach version of a store needs a new prefix. See Immutable prefixes
The upload stoppedRun the same command again. It skips the objects already stored

Notebooks

SymptomCause and fix
The viewer frame stays emptyRun chronozarr.diagnose_view("my_store"). It prints what the browser requested and what to try next
The kernel runs on another machineThe browser must reach the kernel's machine. See Notebooks and remote machines

Report a problem

Open an issue at github.com/chronozarr/chronozarr/issues. Include the command, its full output, chronozarr --version, and the output of chronozarr doctor for a hosted store.